Skip to content

minor: Create VM Import/Export role/permissions #31

minor: Create VM Import/Export role/permissions

minor: Create VM Import/Export role/permissions #31

Workflow file for this run

---
name: Flowzone
on:
pull_request:
types: [opened, synchronize, closed]
branches: [main, master]
# allow external contributions to use secrets within trusted code
pull_request_target:
types: [opened, synchronize, closed]
branches: [main, master]
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
# https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect#adding-permissions-settings
permissions:
actions: read
checks: read
contents: read
deployments: read
id-token: write # AWS GitHub OIDC required: write
issues: read
discussions: read
packages: read
pages: read
pull-requests: read
repository-projects: read
security-events: read
statuses: read
jobs:
flowzone:
name: Flowzone
uses: product-os/flowzone/.github/workflows/flowzone.yml@master
# prevent duplicate workflow executions for pull_request and pull_request_target
if: |
(
github.event.pull_request.head.repo.full_name == github.repository &&
github.event_name == 'pull_request'
) || (
github.event.pull_request.head.repo.full_name != github.repository &&
github.event_name == 'pull_request_target'
)
secrets:
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
with:
jobs_timeout_minutes: 60
repo_description: "AWS/GitOps automation"

Check failure on line 48 in .github/workflows/flowzone.yml

View workflow run for this annotation

GitHub Actions / Flowzone

Invalid workflow file

The workflow is not valid. .github/workflows/flowzone.yml (Line: 48, Col: 25): Invalid input, repo_description is not defined in the referenced workflow. .github/workflows/flowzone.yml (Line: 49, Col: 31): Invalid input, repo_enable_auto_merge is not defined in the referenced workflow.
repo_enable_auto_merge: true
repo_enable_merge_commit: true