Skip to content

Commit

Permalink
Add contents:write permission for update job
Browse files Browse the repository at this point in the history
  • Loading branch information
domoscargin committed Dec 18, 2024
1 parent e326153 commit 04fa91e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
branches:
- main

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
lint:
name: lint
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Update
run-name: Update deps list
on:
workflow_dispatch:
pull_request:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
Expand All @@ -11,6 +10,9 @@ concurrency:
env:
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

permissions:
contents: write

jobs:
Get-latest-dependent-data:
name: Get latest dependent data
Expand Down

0 comments on commit 04fa91e

Please sign in to comment.