Skip to content

Commit

Permalink
Try again without permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jan 29, 2025
1 parent ca0371b commit 331a261
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/cleanup-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,12 @@ jobs:
github.event.review.author_association == 'MEMBER' &&
contains(github.event.pull_request.labels.*.name, 'auto-cleanup') == false
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/create-github-app-token@v1
id: github-actions-bot-app-token
with:
app-id: 819772
private-key: ${{ secrets.APOLLO_GITHUB_ACTIONS_BOT_PRIVATE_KEY }}
- name: Checkout repo
uses: actions/checkout@v4
- name: add label
uses: actions/[email protected]
with:
github-token: ${{ steps.github-actions-bot-app-token.outputs.token }}
script: |
const script = (await import('${{ github.workspace }}/.github/workflows/cleanup-checks.mjs')).setup({context,core,github,exec,glob,io})
await script.add_cleanup_label()
Expand Down

0 comments on commit 331a261

Please sign in to comment.