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 fa71a80 commit 26ac432Copy full SHA for 26ac432
.github/workflows/annotate.yml
@@ -1,7 +1,8 @@
1
name: annotate
2
3
on:
4
- workflow_dispatch:
+ pull_request:
5
+ branches: [ "*" ]
6
7
jobs:
8
update-docblocks:
@@ -14,7 +15,7 @@ jobs:
14
15
- name: Checkout code
16
uses: actions/checkout@v5
17
with:
- ref: ${{ github.ref }}
18
+ token: ${{ secrets.GITHUB_TOKEN }}
19
20
- name: Install jq
21
run: sudo apt-get install -y jq
@@ -54,4 +55,5 @@ jobs:
54
55
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
56
git add .
57
git commit -m "Update docblocks."
- git push
58
+ git pull --rebase origin ${{ github.head_ref }}
59
+ git push origin HEAD:${{ github.head_ref }}
0 commit comments