Skip to content

Merge

Merge #14

Workflow file for this run

name: Merge
on:
push:
branches: [main]
workflow_dispatch:
inputs:
pr_no:
description: "PR-numbered container set to deploy"
type: number
required: true
permissions:
id-token: write # This is required for requesting the JWT
contents: write # This is required for actions/checkout
packages: write
env:
AWS_REGION: ca-central-1
jobs:
vars:
name: Set Variables
outputs:
pr: ${{ steps.pr.outputs.pr || github.event.inputs.pr_no }}
runs-on: ubuntu-24.04
timeout-minutes: 1
steps:
# Get PR number for squash merges to main
- name: PR Number
if: ${{ github.event_name != 'workflow_dispatch' }}
id: pr
uses: bcgov-nr/action-get-pr@v0.0.1
deploy-dev:
name: Deploy Dev
needs: [vars]
uses: ./.github/workflows/.deploy.yml

Check failure on line 34 in .github/workflows/merge.yml

View workflow run for this annotation

GitHub Actions / Merge

Invalid workflow file

The workflow is not valid. .github/workflows/merge.yml (Line: 34, Col: 11): Input AWS_DEPLOY_ROLE_ARN is required, but not provided while calling. .github/workflows/merge.yml (Line: 34, Col: 11): Input AWS_LICENSE_PLATE is required, but not provided while calling.
secrets:
AWS_DEPLOY_ROLE_ARN: ${{ secrets.AWS_DEPLOY_ROLE_ARN }}
AWS_LICENSE_PLATE: ${{ secrets.AWS_LICENSE_PLATE }}
with:
environment_name: dev
app_env: dev
tag: ${{ needs.vars.outputs.pr }}