Skip to content

Commit 8e64fe0

Browse files
authored
Merge pull request #797 from Emilgardis/ci-please
ci please
2 parents e816beb + d43e1d8 commit 8e64fe0

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.github/workflows/diff.yml

+20-1
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,30 @@ on:
44
types: [created]
55

66
jobs:
7+
debug:
8+
runs-on: ubuntu-latest
9+
needs: [diff, generate, summary]
10+
if: always() && (vars.ACTIONS_RUNNER_DEBUG || vars.ACTIONS_STEP_DEBUG )
11+
steps:
12+
- name: echo needs
13+
run: echo '${{ toJson(needs) }}'
14+
- name: echo github
15+
run: echo '${{ toJson(github) }}'
16+
- name: echo pull request
17+
run: echo '${{ github.event.issue.pull_request == 'true' }}'
18+
- name: echo comment association
19+
run: echo '${{ github.event.comment.author_association }} - ${{ github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER' }}'
20+
- name: echo comment body
21+
run: echo '${{ contains(github.event.comment.body, '\n/ci') || startsWith(github.event.comment.body, '/ci') }}'
22+
- name: echo generate diffs
23+
run: echo '${{ needs.generate.outputs.diffs != '{}' && needs.generate.outputs.diffs != '[]' && needs.generate.outputs.diffs != '' }}'
24+
- name: echo generate result
25+
run: echo '${{ needs.generate.result == 'success' }}'
726
generate:
827
runs-on: ubuntu-latest
928
outputs:
1029
diffs: ${{ steps.regress-ci.outputs.diffs }}
11-
if: github.event.issue.pull_request && github.event.comment.author_association == 'MEMBER' && (contains(github.event.comment.body, '\n/ci') || startsWith(github.event.comment.body, '/ci'))
30+
if: github.event.issue.pull_request && (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER') && (contains(github.event.comment.body, '\n/ci') || startsWith(github.event.comment.body, '/ci'))
1231
steps:
1332
- uses: actions/checkout@v4
1433

0 commit comments

Comments
 (0)