pass newly required inputs from push workflow

This commit is contained in:
dkanada committed 2026-03-16 15:00:30 +09:00
1 parent 1f44b7b4f4
commit bc6214a490
3 files changed
+13 -6

No files matched your search

+3 -3
View File
@@ -20,7 +20,7 @@ on:
required: false
type: boolean
pr_number:
required: true
required: false
type: number
workflow_run_id:
required: true
@@ -33,7 +33,7 @@ on:
jobs:
progress-comment:
name: Progress Comment
if: ${{ always() }}
if: ${{ always() && inputs.comment }}
uses: ./.github/workflows/__job_messages.yml
secrets:
JF_BOT_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
@@ -73,7 +73,7 @@ jobs:
compose-comment:
name: Compose and push comment 📝
# Always run so the comment is composed for the workflow summary
if: ${{ always() }}
if: ${{ always() && inputs.comment }}
uses: ./.github/workflows/__job_messages.yml
secrets: inherit
needs:
+9 -3
View File
@@ -17,7 +17,8 @@ jobs:
name: Automation 🎛️
if: ${{ github.repository == 'jellyfin/jellyfin-web' }}
uses: ./.github/workflows/__automation.yml
secrets: inherit
secrets:
JF_BOT_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
main:
name: 'Unstable release 🚀⚠️'
@@ -52,7 +53,12 @@ jobs:
permissions:
contents: read
deployments: write
secrets: inherit
secrets:
JF_BOT_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
with:
branch: ${{ github.ref_name }}
branch: ${{ format('{0}/{1}', github.repository, github.ref_name) }}
commit: ${{ github.sha }}
workflow_run_id: ${{ github.run_id }}
comment: false
+1
View File
@@ -55,3 +55,4 @@ jobs:
commit: ${{ github.event.workflow_run.head_sha }}
workflow_run_id: ${{ github.event.workflow_run.id }}
pr_number: ${{ needs.metadata.outputs.pr_number }}
comment: true