Skip to content

Commit

Permalink
update to checkout/v3
Browse files Browse the repository at this point in the history
  • Loading branch information
yanamura committed Apr 10, 2023
1 parent a691516 commit ee1c166
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: "merge-test"
on: # merge release branch when pushed
pull_request:
push:
branches:
- 'release/*'
Expand All @@ -9,7 +8,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ If you're using `release branch` or `hotfix branch` of [gitflow-workflow](https:
## Usage

```yaml
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
if: github.event.label.name == 'release'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Extract branch name
uses: mdecoleman/[email protected]
id: extract_branch
Expand All @@ -80,7 +80,7 @@ jobs:
automerge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- uses: yanamura/git-flow-merge-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit ee1c166

Please sign in to comment.