mirror of
https://github.com/GTNewHorizons/GTNH-Actions-Workflows.git
synced 2026-12-01 01:43:02 +01:00
Unify ubuntu base image version across workflows (#77)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: Trigger a rebuild with externally required PRs
|
||||
|
||||
# Note: this reusable workflow must called from a context that is triggered by a "Build and test" run (which then propagates the event)
|
||||
# That context requires workflow_run, which runs in the context of the default branch,
|
||||
# That context requires workflow_run, which runs in the context of the default branch,
|
||||
# therefore we use the statuses api to place it on the source commit manually here
|
||||
on:
|
||||
workflow_call:
|
||||
@@ -10,11 +10,11 @@ permissions:
|
||||
actions: write
|
||||
contents: read
|
||||
statuses: write
|
||||
|
||||
|
||||
jobs:
|
||||
trigger-rebuild-with-deps:
|
||||
name: Apply required PRs from external repos
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-26.04
|
||||
if: github.event.workflow_run.conclusion == 'failure'
|
||||
&& github.event.workflow_run.event == 'pull_request'
|
||||
&& github.event.workflow_run.run_attempt == 1
|
||||
@@ -105,4 +105,4 @@ jobs:
|
||||
-f state="${{ job.status }}" \
|
||||
-f context="Trigger rebuild with deps" \
|
||||
-f description="External PR deps applied; rebuild triggered" \
|
||||
-f target_url="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
|
||||
-f target_url="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
|
||||
|
||||
Reference in New Issue
Block a user