Skip to content

refactor: adopt v2.14.2 workflow and drop gitops #54

refactor: adopt v2.14.2 workflow and drop gitops

refactor: adopt v2.14.2 workflow and drop gitops #54

Workflow file for this run

name: on-pr
on:
pull_request:
branches:
- main
types:
- labeled
- opened
- reopened
- synchronize
paths:
- '.github/workflows/on-pr.yaml'
- '.gitops/**'
- 'apis/**'
- 'examples/**'
- 'tests/**'
- 'functions/**'
- 'upbound.yaml'
permissions:
id-token: write
packages: write
contents: write
issues: write
pull-requests: write
jobs:
validate:
uses: unbounded-tech/workflows-crossplane/.github/workflows/validate.yaml.14.2

Check failure on line 30 in .github/workflows/on-pr.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/on-pr.yaml

Invalid workflow file

invalid value workflow reference: no version specified
with:
examples: |
[
{ "example": "examples/networks/minimal.yaml" },
{ "example": "examples/networks/standard.yaml" },
{ "example": "examples/networks/dual-stack-ula.yaml" },
{ "example": "examples/networks/dual-stack-amazon.yaml" },
{ "example": "examples/networks/high-availability.yaml" },
{ "example": "examples/networks/import-example.yaml" },
{ "example": "examples/networks/with-ipam.yaml", "observed_resources": "examples/test/mocks/observed-resources/with-ipam/steps/1" },
{ "example": "examples/networks/with-ipam.yaml", "observed_resources": "examples/test/mocks/observed-resources/with-ipam/steps/2" },
{ "example": "examples/networks/with-ipam.yaml", "observed_resources": "examples/test/mocks/observed-resources/with-ipam/steps/3" },
{ "example": "examples/networks/with-ipam.yaml", "observed_resources": "examples/test/mocks/observed-resources/with-ipam/steps/4" }
]
api_path: apis/networks
error_on_missing_schemas: true
test:
uses: unbounded-tech/workflows-crossplane/.github/workflows/test.yaml.14.2
e2e:
uses: unbounded-tech/workflows-crossplane/.github/workflows/e2e.yaml.14.2
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
with:
aws: true
aws-use-oidc: true
aws-account-id: "034489662075"
aws-region: us-east-2
timeout-minutes: 30
cleanup-timeout-minutes: 30
publish:
needs:
- validate
- test
uses: unbounded-tech/workflows-crossplane/.github/workflows/publish.yaml.14.2
secrets: inherit
with:
tag: pr-${{ github.event.pull_request.number }}-${{ github.sha }}