diff --git a/.github/workflows/add-asana-comment.yml b/.github/workflows/add-asana-comment.yml index aaa3f6d..e9ad61d 100644 --- a/.github/workflows/add-asana-comment.yml +++ b/.github/workflows/add-asana-comment.yml @@ -4,6 +4,9 @@ on: pull_request: types: [opened] +permissions: + contents: read + jobs: link-asana-task: if: ${{ github.actor != 'dependabot[bot]' }} diff --git a/.github/workflows/add-asana-comment.yml.bak b/.github/workflows/add-asana-comment.yml.bak new file mode 100644 index 0000000..aaa3f6d --- /dev/null +++ b/.github/workflows/add-asana-comment.yml.bak @@ -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 }}" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea19ed6..20ffeac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +permissions: + contents: read + jobs: generate: runs-on: ubuntu-latest