-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
8 changed files
with
1,198 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,25 @@ | ||
name: Verifications | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
manual-check: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Run our action | ||
id: my_action | ||
uses: ../action.yml | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
job_name: "manual-check" | ||
|
||
- name: Output our action | ||
run: echo ${{ steps.my_action.outputs.job_id }} - ${{ steps.my_action.outputs.html_url }} |
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 @@ | ||
node_modules/ |
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,31 @@ | ||
name: "Fetch GitHub job_id" | ||
description: "GitHub Action to fetch the current workflow run's job_id" | ||
inputs: | ||
github_token: | ||
description: "GITHUB_TOKEN to use GitHub API v3" | ||
required: true | ||
job_name: | ||
description: "job_name of tartget workflow jobs" | ||
required: true | ||
repository: | ||
description: "target GitHub repository" | ||
required: false | ||
run_id: | ||
description: "run_id of target workflow run" | ||
required: false | ||
per_page: | ||
description: "Results per page (max 100) of target workflow run" | ||
required: false | ||
outputs: | ||
job_id: | ||
description: "job_id of target workflow jobs" | ||
html_url: | ||
description: "html_url of target workflow jobs" | ||
|
||
branding: | ||
icon: "link" | ||
color: "blue" | ||
|
||
runs: | ||
using: 'node20' | ||
main: 'dist/index.js' |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.