Skip to content

Deploy ๐Ÿ—๏ธ #15

Deploy ๐Ÿ—๏ธ

Deploy ๐Ÿ—๏ธ #15

Workflow file for this run

name: Deploy ๐Ÿ—๏ธ
on:
workflow_run:
workflows:
- Quality checks ๐Ÿ‘Œ๐Ÿงช
types:
- completed
jobs:
pr-context:
name: Get PR context
if: ${{ always() && github.event.workflow_run.event == 'pull_request' }}
runs-on: ubuntu-latest
outputs:
commit: ${{ env.pr_sha }}
pr_number: ${{ env.pr_number }}
steps:
- name: Get PR context โฌ‡๏ธ
uses: dawidd6/[email protected]
id: pr_context
with:
run_id: ${{ github.event.workflow_run.id }}
name: PR_context
- name: Set PR context environment variables
if: ${{ steps.pr_context.conclusion == 'success' }}
run: |
echo "pr_number=$(cat PR_number)" >> $GITHUB_ENV
echo "pr_sha=$(cat PR_sha)" >> $GITHUB_ENV
comment-status:
name: Create comment status
if: |
always() &&
github.event.workflow_run.event == 'pull_request' &&
needs.pr-context.outputs.pr_number != ''
runs-on: ubuntu-latest
needs:
- compose-comment

Check failure on line 41 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Deploy ๐Ÿ—๏ธ

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 41, Col: 9): Job 'comment-status' depends on unknown job 'compose-comment'.
- pr-context
steps:
- name: Update job summary in PR comment
uses: thollander/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.OG_BOT_TOKEN }}
message: ${{ needs.compose-comment.outputs.msg }}
pr_number: ${{ needs.pr-context.outputs.pr_number }}
comment_tag: ${{ needs.compose-comment.outputs.marker }}
mode: recreate