Skip to content

Commit 85632c7

Browse files
committed
Fix syntax
1 parent df33a83 commit 85632c7

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/autofix-reminder.yml

+2-9
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ permissions:
88
issues: write
99

1010
on:
11-
workflow_dispatch:
1211
pull_request:
1312
branches:
1413
- main
@@ -29,17 +28,11 @@ jobs:
2928
REQUIRES_AUTOFIX_LABEL: "Autofix Validation Required"
3029
DOES_NOT_REQUIRE_AUTOFIX_LABEL: "No Autofix Validation Required"
3130

32-
runs-on: ubuntu-latest
31+
runs-on: ubuntu-l atest
3332
steps:
34-
- name: Save PR number
35-
run: echo "${PR_NUMBER}" > pr_number.txt
36-
shell: bash
37-
env:
38-
PR_NUMBER: ${{ github.event.number }}
39-
4033
- name: Check existing labels
4134
shell: bash
42-
run:
35+
run: |
4336
gh api "repos/${GITHUB_REPOSITORY}/issues/${PR_NUMBER}/labels" | jq -r '.[].name' > labels.txt
4437
4538
if grep -q -x -e "${REQUIRES_AUTOFIX_LABEL}" labels.txt || grep -q -x -e "${DOES_NOT_REQUIRE_AUTOFIX_LABEL}" labels.txt; then

0 commit comments

Comments
 (0)