Skip to content

Commit

Permalink
ci: give auto-commit action write permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Mar 14, 2024
1 parent 8eae9fe commit a71cec1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/gen-rockspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ concurrency:
jobs:
build:
runs-on: ubuntu-20.04
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -55,7 +57,7 @@ jobs:
- name: Upload to luarocks
run: |
luarocks --verbose upload ./rocks-treesitter.nvim-scm-1.rockspec --api-key "${{ env.LUAROCKS_API_KEY }}" --force
- name: commit-linux-x86_64
- name: Commit generated rockspec
uses: stefanzweifel/git-auto-commit-action@v5
if: always()
with:
Expand Down

0 comments on commit a71cec1

Please sign in to comment.