chore(ci): add permissions to workflow files

This commit is contained in:
Devin AI 2025-10-14 21:44:04 +00:00
parent 36bc61fa27
commit a55c4a7693
3 changed files with 22 additions and 0 deletions

View File

@ -4,6 +4,9 @@ on:
pull_request:
types: [opened]
permissions:
contents: read
jobs:
link-asana-task:
if: ${{ github.actor != 'dependabot[bot]' }}

View File

@ -0,0 +1,16 @@
name: Asana
on:
pull_request:
types: [opened]
jobs:
link-asana-task:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- uses: Asana/create-app-attachment-github-action@v1.3
id: postAttachment
with:
asana-secret: ${{ secrets.ASANA_API_ACCESS_KEY }}
- run: echo "Status is ${{ steps.postAttachment.outputs.status }}"

View File

@ -9,6 +9,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
generate:
runs-on: ubuntu-latest