Skip to content

Commit

Permalink
Merge branch 'main' into 08-22-Granting_more_permissions_to_test_Work…
Browse files Browse the repository at this point in the history
…flow
  • Loading branch information
CatChen authored Aug 22, 2022
2 parents a872237 + 8481a65 commit a5ce63d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,3 @@ jobs:
- uses: ./
with:
merge-method: squash

debug_information:
name: Debug Information
runs-on: ubuntu-latest

steps:
- name: Print contexts
env:
GITHUB: ${{ toJSON(github) }}
JOB: ${{ toJSON(job) }}
INPUTS: ${{ toJSON(inputs) }}
run: |
echo "::debug::github = $GITHUB"
echo "::debug::job = $JOB"
echo "::debug::inputs = $INPUTS"
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ jobs:
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Git fetch
env:
TEST_BRANCH_NAME: ${{ github.head_ref }}
run: |
git fetch --unshallow origin
git checkout $TEST_BRANCH_NAME
- name: Make commit
env:
SHA: ${{ github.sha }}
Expand Down
2 changes: 2 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pull_request_rules:
- status-success=eslint
- status-success=test
- status-success=Analyze (javascript)
- label!=accept2ship
actions:
merge:
method: squash
Expand All @@ -19,6 +20,7 @@ pull_request_rules:
- status-success=eslint
- status-success=test
- status-success=Analyze (javascript)
- label!=accept2ship
actions:
merge:
method: squash
Expand Down

0 comments on commit a5ce63d

Please sign in to comment.