Skip to content

Commit

Permalink
GitHub automation fails to move issues (#500)
Browse files Browse the repository at this point in the history
* Replace GITHUB_TOKEN with personal access token

* Add executable bit to scripts
  • Loading branch information
jeremyprime authored Sep 16, 2022
1 parent b77aefe commit 54073e4
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 12 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/auto-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
types:
- labeled
workflow_dispatch:
permissions:
issues: write
repository-projects: write
jobs:
move-low-priority:
if: github.event.label.name == 'Low Priority'
Expand All @@ -16,7 +13,7 @@ jobs:
with:
project: Backlog
column: Low Priority
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

move-normal-priority:
if: github.event.label.name == 'Normal Priority'
Expand All @@ -26,7 +23,7 @@ jobs:
with:
project: Backlog
column: Normal Priority
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

move-high-priority:
if: github.event.label.name == 'High Priority'
Expand All @@ -36,4 +33,4 @@ jobs:
with:
project: Backlog
column: High Priority
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
9 changes: 3 additions & 6 deletions .github/workflows/remove-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
types:
- closed
workflow_dispatch:
permissions:
issues: write
repository-projects: write
jobs:
remove-low-priority:
if: contains(github.event.issue.labels.*.name, 'Low Priority')
Expand All @@ -16,7 +13,7 @@ jobs:
with:
project: Backlog
column: Low Priority
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
action: delete

remove-normal-priority:
Expand All @@ -27,7 +24,7 @@ jobs:
with:
project: Backlog
column: Normal Priority
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
action: delete

remove-high-priority:
Expand All @@ -38,5 +35,5 @@ jobs:
with:
project: Backlog
column: High Priority
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
action: delete
Empty file modified examples/pyspark/sparkapp.py
100644 → 100755
Empty file.
Empty file modified examples/scala/submit-examples-debug.sh
100644 → 100755
Empty file.
Empty file modified examples/scala/submit-examples-kerberos.sh
100644 → 100755
Empty file.
Empty file modified examples/scala/submit-examples.sh
100644 → 100755
Empty file.
Empty file modified functional-tests/default-config.sh
100644 → 100755
Empty file.
Empty file modified functional-tests/submit-functional-tests-debug.sh
100644 → 100755
Empty file.

0 comments on commit 54073e4

Please sign in to comment.