Skip to content

Commit

Permalink
Merge branch 'main' into eslint/set-files
Browse files Browse the repository at this point in the history
Signed-off-by: Kentaro Suzuki <[email protected]>
  • Loading branch information
sushichan044 authored Oct 21, 2024
2 parents ace08bf + 544b913 commit 9cd8b58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

steps:
- name: Get PR information (issue_comment)
if: github.event_name == 'event_name'
if: github.event_name == 'issue_comment'
id: pr-request
uses: octokit/request-action@dad4362715b7fb2ddedf9772c8670824af564f0d # v2.4.0
with:
Expand All @@ -46,8 +46,8 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}

- name: Check PR (issue_comment)
id: check-pr
if: github.event_name == 'event_name'
- name: Exit if invalid PR (issue_comment)
if: github.event_name == 'issue_comment'
run: |
if [ "${{ fromJson(steps.pr-request.outputs.data).base.ref }}" != 'main' ]; then
echo "::error::PR base branch is not main."
Expand Down

0 comments on commit 9cd8b58

Please sign in to comment.