We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e84def1 commit 7509af7Copy full SHA for 7509af7
1 file changed
.github/workflows/update-types.yml
@@ -40,6 +40,8 @@ jobs:
40
needs: check
41
if: ${{ needs.check.outputs.need_build == 'true' }}
42
runs-on: ubuntu-latest
43
+ permissions:
44
+ contents: write
45
46
steps:
47
- uses: actions/checkout@v4
@@ -68,13 +70,13 @@ jobs:
68
70
rm -rf types
69
71
mkdir -p types
72
cp -r pdfjs/build/types/. types/
- echo "${{ needs.check.outputs.commit_hash }}" > pdfjs-commit.txt
73
+ # echo "${{ needs.check.outputs.commit_hash }}" > pdfjs-commit.txt
74
75
- name: Commit and push updated types
76
run: |
77
git config user.name "github-actions[bot]"
78
git config user.email "github-actions[bot]@users.noreply.github.com"
- git add types pdfjs-commit.txt
79
+ git add types
80
if git diff --cached --quiet; then
81
echo "✅ No changes to commit."
82
else
0 commit comments