Skip to content

Commit

Permalink
Merge commit from fork
Browse files Browse the repository at this point in the history
  • Loading branch information
KyFaSt authored Oct 7, 2024
1 parent 00c79c0 commit 63b4440
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/1-resolve-duplicate-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,15 @@ jobs:

- name: Dump GitHub comment context
id: github_comment_step
run: echo '${{ toJSON(github.event.comment) }}'
env:
COMMENT_CONTEXT: ${{ toJSON(github.event.comment) }}
run: echo "$COMMENT_CONTEXT"

- name: Dump GitHub issue context
id: github_issue_step
run: echo '${{ toJSON(github.event.issue) }}'
env:
ISSUE_CONTEXT: ${{ toJSON(github.event.issue) }}
run: echo "$ISSUE_CONTEXT"

- name: Check if commented issue is closed and marked as duplicate
if: ${{ contains(github.event.comment.body, 'Duplicate of') && (github.event.issue.state == 'closed')}}
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/2-find-commit-in-history.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,15 @@ jobs:

- name: Dump GitHub comment context
id: github_comment_step
run: echo '${{ toJSON(github.event.comment) }}'
env:
COMMENT_CONTEXT: ${{ toJSON(github.event.comment) }}
run: echo "$COMMENT_CONTEXT"

- name: Dump GitHub issue context
id: github_issue_step
run: echo '${{ toJSON(github.event.issue) }}'
env:
ISSUE_CONTEXT: ${{ toJSON(github.event.issue) }}
run: echo "$ISSUE_CONTEXT"

- name: Check if the issue comment is referencing the required commit ID
if: contains(github.event.comment.body, needs.get_current_step.outputs.commit_id)
Expand Down

0 comments on commit 63b4440

Please sign in to comment.