Skip to content

Make k3s token as non-sensitive value #70

Make k3s token as non-sensitive value

Make k3s token as non-sensitive value #70

Workflow file for this run

name: Terraform plan validation (PRs only)
on:
pull_request:
types: [labeled]
permissions:
pull-requests: write
jobs:
examples_hcloud-k3s:
name: Hetzner Cloud
if: ${{ github.event.label.name == 'terraform:plan' }}
permissions:
pull-requests: write
secrets:
env: |
HCLOUD_TOKEN: ${{ secrets.HCLOUD_TOKEN }}
uses: ./.github/workflows/templates/terraform.pull_requests.plan.yaml

Check failure on line 19 in .github/workflows/terraform.plan.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/terraform.plan.yaml

Invalid workflow file

invalid value workflow reference: workflows must be defined at the top level of the .github/workflows/ directory
with:
terraform_vars: |
ssh_key: ''
terraform_workdir: examples/hcloud-k3s
unlabel-pull-request:
if: always()
name: Remove 'terraform:plan' label
needs: [examples_hcloud-k3s]
runs-on: ubuntu-latest
steps:
- name: Unlabel 'terraform:plan'
uses: actions-ecosystem/action-remove-labels@d05162525702062b6bdef750ed8594fc024b3ed7
with:
labels: terraform:plan