forked from shaka-project/shaka-streamer
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9f7a03
commit 253c0db
Showing
8 changed files
with
224 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Workflow Debug (Call) | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
ref: | ||
description: "The ref to build and test." | ||
type: string | ||
required: True | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
debug: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
echo "github.ref: ${{ github.ref }}" | ||
echo "github.event_name: ${{ github.event_name }}" | ||
echo "" | ||
echo "github.event.inputs.ref: ${{ github.event.inputs.ref }}" | ||
echo "inputs.ref: ${{ inputs.ref }}" | ||
echo "" | ||
echo "github.event.pull_request_target.merge_commit_sha: ${{ github.event.pull_request_target.merge_commit_sha }}" | ||
echo "github.event.pull_request.merge_commit_sha: ${{ github.event.pull_request.merge_commit_sha }}" | ||
echo "github.event.push.head: ${{ github.event.push.head }}" | ||
echo "" | ||
cat <<EOF | ||
github.event: ${{ toJSON(github.event) }} | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Workflow Debug (Caller, Push/Dispatch) | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
inputs: | ||
ref: | ||
description: "The ref to build and test." | ||
type: string | ||
required: True | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
debug: | ||
uses: ./.github/workflows/debug-call.yaml | ||
with: | ||
ref: foo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Workflow Debug (Dispatch) | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
ref: | ||
description: "The ref to build and test." | ||
type: string | ||
required: True | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
debug: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
echo "github.ref: ${{ github.ref }}" | ||
echo "github.event_name: ${{ github.event_name }}" | ||
echo "" | ||
echo "github.event.inputs.ref: ${{ github.event.inputs.ref }}" | ||
echo "inputs.ref: ${{ inputs.ref }}" | ||
echo "" | ||
echo "github.event.pull_request_target.merge_commit_sha: ${{ github.event.pull_request_target.merge_commit_sha }}" | ||
echo "github.event.pull_request.merge_commit_sha: ${{ github.event.pull_request.merge_commit_sha }}" | ||
echo "github.event.push.head: ${{ github.event.push.head }}" | ||
echo "" | ||
cat <<EOF | ||
github.event: ${{ toJSON(github.event) }} | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Workflow Debug (PR Target) | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, synchronize, reopened] | ||
|
||
jobs: | ||
debug: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
echo "github.ref: ${{ github.ref }}" | ||
echo "github.event_name: ${{ github.event_name }}" | ||
echo "" | ||
echo "github.event.inputs.ref: ${{ github.event.inputs.ref }}" | ||
echo "inputs.ref: ${{ inputs.ref }}" | ||
echo "" | ||
echo "github.event.pull_request_target.merge_commit_sha: ${{ github.event.pull_request_target.merge_commit_sha }}" | ||
echo "github.event.pull_request.merge_commit_sha: ${{ github.event.pull_request.merge_commit_sha }}" | ||
echo "github.event.push.head: ${{ github.event.push.head }}" | ||
echo "" | ||
cat <<EOF | ||
github.event: ${{ toJSON(github.event) }} | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Workflow Debug (PR) | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
debug: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
echo "github.ref: ${{ github.ref }}" | ||
echo "github.event_name: ${{ github.event_name }}" | ||
echo "" | ||
echo "github.event.inputs.ref: ${{ github.event.inputs.ref }}" | ||
echo "inputs.ref: ${{ inputs.ref }}" | ||
echo "" | ||
echo "github.event.pull_request_target.merge_commit_sha: ${{ github.event.pull_request_target.merge_commit_sha }}" | ||
echo "github.event.pull_request.merge_commit_sha: ${{ github.event.pull_request.merge_commit_sha }}" | ||
echo "github.event.push.head: ${{ github.event.push.head }}" | ||
echo "" | ||
cat <<EOF | ||
github.event: ${{ toJSON(github.event) }} | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Workflow Debug (Push) | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
debug: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
echo "github.ref: ${{ github.ref }}" | ||
echo "github.event_name: ${{ github.event_name }}" | ||
echo "" | ||
echo "github.event.inputs.ref: ${{ github.event.inputs.ref }}" | ||
echo "inputs.ref: ${{ inputs.ref }}" | ||
echo "" | ||
echo "github.event.pull_request_target.merge_commit_sha: ${{ github.event.pull_request_target.merge_commit_sha }}" | ||
echo "github.event.pull_request.merge_commit_sha: ${{ github.event.pull_request.merge_commit_sha }}" | ||
echo "github.event.push.head: ${{ github.event.push.head }}" | ||
echo "" | ||
cat <<EOF | ||
github.event: ${{ toJSON(github.event) }} | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Workflow Debug (Release) | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
debug: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
echo "github.ref: ${{ github.ref }}" | ||
echo "github.event_name: ${{ github.event_name }}" | ||
echo "" | ||
echo "github.event.inputs.ref: ${{ github.event.inputs.ref }}" | ||
echo "inputs.ref: ${{ inputs.ref }}" | ||
echo "" | ||
echo "github.event.pull_request_target.merge_commit_sha: ${{ github.event.pull_request_target.merge_commit_sha }}" | ||
echo "github.event.pull_request.merge_commit_sha: ${{ github.event.pull_request.merge_commit_sha }}" | ||
echo "github.event.push.head: ${{ github.event.push.head }}" | ||
echo "" | ||
cat <<EOF | ||
github.event: ${{ toJSON(github.event) }} | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Workflow Debug (Schedule) | ||
|
||
on: | ||
schedule: | ||
# Run every 10 minutes | ||
- cron: '*/10 * * * *' | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
debug: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
echo "github.ref: ${{ github.ref }}" | ||
echo "github.event_name: ${{ github.event_name }}" | ||
echo "" | ||
echo "github.event.inputs.ref: ${{ github.event.inputs.ref }}" | ||
echo "inputs.ref: ${{ inputs.ref }}" | ||
echo "" | ||
echo "github.event.pull_request_target.merge_commit_sha: ${{ github.event.pull_request_target.merge_commit_sha }}" | ||
echo "github.event.pull_request.merge_commit_sha: ${{ github.event.pull_request.merge_commit_sha }}" | ||
echo "github.event.push.head: ${{ github.event.push.head }}" | ||
echo "" | ||
cat <<EOF | ||
github.event: ${{ toJSON(github.event) }} | ||
EOF |