Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/checkout@v2
- name: Terraform Apply
uses: dflook/terraform-apply@61432ffb5b94226bdfc9cd68a1702a2c40e0db8b
Expand All @@ -22,3 +25,17 @@
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

name: Increment Version

- name: Set name
run: git config user.name "Gearbox Bot"

- name: Set email
run: git config user.email "gearbox@decaturrobotics.org"

- name: Push changes
uses: ad-m/github-push-action@v0.8.0

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Apply Terraform' step
Uses Step
uses 'ad-m/github-push-action' with ref 'v0.8.0', not a pinned commit hash
with:
github_token: ${{ secrets.GIT_PUSH_TOKEN }}
branch: ${{ github.head_ref }}