Use user-oriented token
@@ -13,13 +13,13 @@ jobs:
uses: docker://takanabe/github-actions-automate-projects:v0.0.1
if: github.event_name == 'issues'
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_TOKEN: ${{ secrets.ORG_GITHUB_TOKEN }}
GITHUB_PROJECT_URL: https://github.com/orgs/creativecommons/projects/10
GITHUB_PROJECT_COLUMN_NAME: "Pending Review"
- name: "Automate adding PRs to Active Sprint"
uses: docker://takanabe/github-actions-automate-projects:v0.0.1
if: github.event_name == 'pull_request'
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_TOKEN: ${{ secrets.ORG_GITHUB_TOKEN }}
GITHUB_PROJECT_URL: https://github.com/orgs/creativecommons/projects/7
GITHUB_PROJECT_COLUMN_NAME: "Ticket Work Required"
