Skip to content

Commit 5aa4044

Browse files
committed
Run generate in pull requests too
1 parent 3859857 commit 5aa4044

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

.github/workflows/generate.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,8 @@ on:
77
- '7.17'
88
- '8.[0-9]+'
99

10-
# For debugging purposes:
11-
# pull_request:
12-
# types: [opened, synchronize, reopened]
13-
# branches:
14-
# - main
10+
pull_request:
11+
types: [opened, synchronize, reopened]
1512

1613
concurrency:
1714
group: ${{ github.workflow }}-${{ github.ref }}
@@ -71,16 +68,3 @@ jobs:
7168
git add -A ./output
7269
git commit -m "Update specification output"
7370
git push
74-
75-
# For debugging purposes:
76-
# - name: Push Output
77-
# if: steps.changes.outputs.has-changes == '1'
78-
# env:
79-
# BRANCH_NAME: output_${{ github.run_id }}_${{ github.run_attempt }}
80-
# run: |
81-
# git fetch
82-
# git switch main
83-
84-
# git add -A ./output
85-
# git commit -m "Update specification output"
86-
# git push origin HEAD:refs/heads/${{ env.BRANCH_NAME }}

0 commit comments

Comments
 (0)