Skip to content

Commit c30bf59

Browse files
committed
chore(workflow): update checkout and pr actions
1 parent 261893e commit c30bf59

File tree

4 files changed

+14
-15
lines changed

4 files changed

+14
-15
lines changed

.github/workflows/auto-readme.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@master
18+
uses: actions/checkout@v2
1919

2020
- name: readme/update
2121
shell: bash
@@ -27,15 +27,14 @@ jobs:
2727
make readme
2828
2929
- name: Create Pull Request
30-
uses: cloudposse/actions/github/create-pull-request@master
30+
uses: peter-evans/create-pull-request@v2
3131
with:
3232
labels: automated pr
33-
env:
34-
GITHUB_TOKEN: ${{ secrets.GITHUB_BOT_TOKEN }}
35-
COMMIT_MESSAGE: "docs(README): auto update all sections"
36-
PULL_REQUEST_TITLE: Automatic Update of README.md
37-
PULL_REQUEST_BODY: |-
33+
token: ${{ secrets.GITHUB_BOT_TOKEN }}
34+
commit-message: "docs(README): auto update all sections"
35+
title: Automatic Update of README.md
36+
body: |-
3837
This is an auto-generated PR which updates the `README.md` from the `README.yaml`
3938
using the [`cloudposse/build-harness`](https://github.com/cloudposse/build-harness).
40-
PULL_REQUEST_BRANCH: github-actions/auto-readme
41-
BRANCH_SUFFIX: timestamp
39+
branch: github-actions/auto-readme
40+
branch-suffix: timestamp

.github/workflows/lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@master
17+
uses: actions/checkout@v2
1818

1919
- name: Terraform Format
2020
uses: hashicorp/terraform-github-actions@master
2121
with:
2222
tf_actions_version: 0.12.18
2323
tf_actions_subcommand: fmt
24-
tf_actions_working_dir: '.'
24+
tf_actions_working_dir: "."
2525
tf_actions_comment: true
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_BOT_TOKEN }}
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
tf_actions_version: 0.12.18
3333
tf_actions_subcommand: init
34-
tf_actions_working_dir: './tests'
34+
tf_actions_working_dir: "./tests"
3535
tf_actions_comment: true
3636
env:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_BOT_TOKEN }}
@@ -41,7 +41,7 @@ jobs:
4141
with:
4242
tf_actions_version: 0.12.18
4343
tf_actions_subcommand: validate
44-
tf_actions_working_dir: './tests'
44+
tf_actions_working_dir: "./tests"
4545
tf_actions_comment: true
4646
env:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_BOT_TOKEN }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@master
14+
uses: actions/checkout@v2
1515

1616
- name: Semantic Release
1717
uses: cycjimmy/semantic-release-action@master

.github/workflows/reviewdog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@master
11+
uses: actions/checkout@v2
1212

1313
- name: Shellcheck
1414
uses: reviewdog/action-shellcheck@v1

0 commit comments

Comments
 (0)