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
34 changes: 34 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: test

on:
workflow_dispatch:
permissions:
contents: write
security-events: write

env:
NODE_OPTIONS: --max_old_space_size=4096

jobs:

cache-deps:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Commit Terraform State files
continue-on-error: true
env:
USER_NAME: ${{ github.actor }}
run: |
git config --global user.name "$USER_NAME"
git config user.email "${{ github.actor_id }}+$USER_NAME@users.noreply.github.com"
date >> test.txt
git add test.txt
git commit -m "Update Terraform state files"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
git push origin HEAD:${{ github.ref }}
history -c