We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f93dbbd commit 1cddf10Copy full SHA for 1cddf10
.github/workflows/update_dependencies.yaml
@@ -50,6 +50,19 @@ jobs:
50
run: |
51
git diff --exit-code --quiet requirements.txt || echo "changed=true" >> $GITHUB_OUTPUT
52
53
+ - name: Create required label if not exists
54
+ run: |
55
+ # Check if label exists
56
+ LABEL_EXISTS=$(gh label list | grep "automated-dependencies-update" || true)
57
+ if [ -z "$LABEL_EXISTS" ]; then
58
+ echo "Creating automated-dependencies-update label..."
59
+ gh label create "automated-dependencies-update" \
60
+ --color "2DA44E" \
61
+ --description "Automated PR for updating project dependencies"
62
+ fi
63
+ env:
64
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65
+
66
- name: Handle dependency updates
67
if: steps.git-check.outputs.changed == 'true'
68
0 commit comments