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 ee4b0cc commit 654f2dbCopy full SHA for 654f2db
.github/workflows/update-dependencies.yml
@@ -1,5 +1,9 @@
1
name: Update dependency versions
2
3
+permissions:
4
+ contents: write
5
+ pull-requests: write
6
+
7
on:
8
schedule:
9
# This cron expression runs the job at 00:00 UTC on the first day of every month
@@ -38,10 +42,10 @@ jobs:
38
42
git config --local user.name "github-actions"
39
43
git config --local user.email "[email protected]"
40
44
git add .
41
- git diff --cached --exit-code || echo "changed" >> $GITHUB_ENV
45
+ git diff --cached --exit-code || echo "changed=true" >> $GITHUB_OUTPUT
46
47
- name: Create Pull Request
- if: env.changed == 'changed'
48
+ if: steps.check_changes.outputs.changed == 'true'
49
run: |
50
git commit -m "Update dependency versions"
51
git push origin HEAD:update-dependency-versions
0 commit comments