Skip to content

build(deps): bump github/codeql-action from 3.26.5 to 3.26.7 in the github-actions group across 1 directory #482

build(deps): bump github/codeql-action from 3.26.5 to 3.26.7 in the github-actions group across 1 directory

build(deps): bump github/codeql-action from 3.26.5 to 3.26.7 in the github-actions group across 1 directory #482

name: Dotcom Acceptance Tests (manual)
on:
pull_request:
types: [labeled]
jobs:
acceptance-tests-anonymous:
runs-on: ubuntu-latest
if: contains(join(github.event.pull_request.labels.*.name, ', '), 'test/')
steps:
- name: Parse Args
id: args
run: |
echo "::set-output name=run_allowed::$(
jq -rc .label.name $GITHUB_EVENT_PATH | cut -d/ -f 2
)"
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: 'go.mod'
cache: true
- name: Acceptance Tests (Anonymous)
id: acceptance-tests-anonymous
uses: terraformtesting/acceptance-tests@66f4842d934555dde0f59bf1a00abd0fc710ece4 # v2.2.0
with:
TF_LOG: INFO
RUN_ALLOWED: ${{ steps.args.outputs.run_allowed }}
- name: Failed Acceptance Tests (Anonymous)
if: ${{ failure() }}
uses: terraformtesting/acceptance-tests@66f4842d934555dde0f59bf1a00abd0fc710ece4 # v2.2.0
with:
TF_LOG: DEBUG
RUN_ALLOWED: ${{ steps.acceptance-tests-anonymous.outputs.run_allowed }}
acceptance-tests-individual:
runs-on: ubuntu-latest
if: contains(join(github.event.pull_request.labels.*.name, ', '), 'test')
steps:
- name: Parse Args
id: args
run: |
echo "::set-output name=run_allowed::$(
jq -rc .label.name $GITHUB_EVENT_PATH | cut -d/ -f 2
)"
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: 'go.mod'
cache: true
- name: Acceptance Tests (Individual)
id: acceptance-tests-individual
uses: terraformtesting/acceptance-tests@66f4842d934555dde0f59bf1a00abd0fc710ece4 # v2.2.0
with:
TF_LOG: INFO
RUN_ALLOWED: ${{ steps.args.outputs.run_allowed }}
GITHUB_OWNER: github-terraform-test-user
GITHUB_TEST_USER_TOKEN: ${{ secrets.DOTCOM_TEST_USER_TOKEN }}
GITHUB_TEST_ORGANIZATION: terraformtesting
- name: Failed Acceptance Tests (Individual)
if: ${{ failure() }}
uses: terraformtesting/acceptance-tests@66f4842d934555dde0f59bf1a00abd0fc710ece4 # v2.2.0
with:
TF_LOG: DEBUG
RUN_ALLOWED: ${{ steps.args.outputs.run_allowed }}
GITHUB_OWNER: github-terraform-test-user
GITHUB_TEST_USER_TOKEN: ${{ secrets.DOTCOM_TEST_USER_TOKEN }}
GITHUB_TEST_ORGANIZATION: terraformtesting
acceptance-tests-organization:
runs-on: ubuntu-latest
if: contains(join(github.event.pull_request.labels.*.name, ', '), 'test')
steps:
- name: Parse Args
id: args
run: |
echo "::set-output name=run_allowed::$(
jq -rc .label.name $GITHUB_EVENT_PATH | cut -d/ -f 2
)"
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: 'go.mod'
cache: true
- name: Acceptance Tests (Organization)
id: acceptance-tests-organization
uses: terraformtesting/acceptance-tests@66f4842d934555dde0f59bf1a00abd0fc710ece4 # v2.2.0
with:
TF_LOG: INFO
RUN_ALLOWED: ${{ steps.args.outputs.run_allowed }}
GITHUB_ORGANIZATION: terraformtesting
GITHUB_TEST_USER_TOKEN: ${{ secrets.DOTCOM_TEST_USER_TOKEN }}
GITHUB_TEST_OWNER: github-terraform-test-user
- name: Failed Acceptance Tests (Organization)
uses: terraformtesting/acceptance-tests@66f4842d934555dde0f59bf1a00abd0fc710ece4 # v2.2.0
if: ${{ failure() }}
with:
TF_LOG: DEBUG
RUN_ALLOWED: ${{ steps.args.outputs.run_allowed }}
GITHUB_ORGANIZATION: terraformtesting
GITHUB_TEST_USER_TOKEN: ${{ secrets.DOTCOM_TEST_USER_TOKEN }}
GITHUB_TEST_OWNER: github-terraform-test-user