Skip to content

Commit 0057659

Browse files
committed
wip
1 parent e6516eb commit 0057659

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/validate.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ jobs:
1515
(contains(github.event.pull_request.labels.*.name, 'run-full-validation-long') && contains(github.event.pull_request.labels.*.name, 'run-quick-validation'))
1616
runs-on: ubuntu-latest
1717
steps:
18-
- run: |
18+
- env:
19+
GH_TOKEN: ${{ secrets.GH_PAT }}
20+
run: |
1921
echo "Multiple validation labels detected. Removing extra labels..."
20-
gh pr edit ${{ github.event.pull_request.number }} --repo $GITHUB_REPOSITORY --remove-label "run-full-validation-long" --remove-label "run-full-validation" --repo $GITHUB_REPOSITORY --remove-label "validation"
22+
gh pr edit ${{ github.event.pull_request.number }} --repo $GITHUB_REPOSITORY --remove-label "run-full-validation-long" --remove-label "run-full-validation" --remove-label "validation"
2123
2224
# Remove appropriate labels based on which ones are present
2325
# if [[ "${{ contains(github.event.pull_request.labels.*.name, 'run-full-validation-long') }}" == "true" ]]; then
@@ -34,6 +36,7 @@ jobs:
3436
3537
echo "Completed label cleanup"
3638
39+
3740
validate:
3841
name: 'Validate Changed Packages - Github Hosted'
3942
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)