-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
31 lines (26 loc) · 977 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: "Update tflint aws plugins"
description: "Run bash script to check for latest version of tflint aws plugin"
inputs:
GITHUB_TOKEN:
description: "Muilti-line list of secrets to expose to the build"
required: false
default: ""
runs:
using: "composite"
steps:
- uses: actions/checkout@v2
- name: Install latest version of GNU awk
shell: bash
run: |
sudo apt-get update
sudo apt-get install gawk -y
- name: Fetch latest version of tflint aws plugin and patch version
shell: bash
run: $GITHUB_ACTION_PATH/update-tflint-aws.sh
- uses: peter-evans/create-pull-request@v5
with:
token: ${{ inputs.GITHUB_TOKEN }}
branch: update/tflint-aws-plugin
title: Update tflint aws plugin version
commit-message: "chore: update tflint aws plugin"
body: "Update versions of tflint aws plugin to latest version. Please close and open PR manually to trigger CI checks."