config:
cat .github/workflows/update-github-org-variables.md
---
name: Update GitHub Organization Variables
description: Automatically update GitHub organizational variables documentation when locals.tf is edited
on:
pull_request:
paths:
- organization/locals.tf
skip-bots:
- actions[bot]
safe-outputs:
app:
app-id: ${{ vars.ACTIONS_APP_ID }}
private-key: ${{ secrets.ACTIONS_PRIVATE_KEY }}
push-to-pull-request-branch: {}
---
...
From my understanding, this should be able to work according to docs
compiler output:
gh aw compile
✗ Compiled 1 workflow(s): 1 error(s), 0 warning(s)
✗ Failed workflows:
✗ update-github-org-variables.md
.github/workflows/update-github-org-variables.md:1:1: error: failed to generate YAML: failed to build and validate jobs: duplicate step validation failed: compiler bug: duplicate step 'Generate GitHub App token' found in job 'safe_outputs' (positions 0 and 21)
: failed to build and validate jobs: duplicate step validation failed: compiler bug: duplicate step 'Generate GitHub App token' found in job 'safe_outputs' (positions 0 and 21)
✗ compilation failed
gh aw --version
gh aw version v0.45.0