Skip to content

Update to trigger on specific branch or manually #1

Update to trigger on specific branch or manually

Update to trigger on specific branch or manually #1

name: PR build and test
on:
push:
branches: [VED-358-github-actions-for-int]
workflow_dispatch:
inputs:
dummy:
description: 'Manual trigger (optional input)'
required: false
default: ''
env:
TF_CLI_ARGS_apply: --auto-approve
jobs:
pr-build:
name: pr-build
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
concurrency:
group: ${{ github.ref }}-build
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: eu-west-2
role-to-assume: arn:aws:iam::084828561157:role/auto-ops
role-session-name: github-actions
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1