potiuk / get-workflow-origin Goto Github PK
View Code? Open in Web Editor NEWAction that provides information about the origin of the workflow run
License: MIT License
Action that provides information about the origin of the workflow run
License: MIT License
Using this action results in the warning message "Node.js 12 actions are deprecated":
I'll see if I can open a PR for you.
Using v1_6 fails with error:
Run potiuk/get-workflow-origin@v1_6
Error: File not found: '/runner/_work/_actions/potiuk/get-workflow-origin/v1_6/dist/index.js'
if the origin workflow was triggered by a issue_comment
event on a pull request, this action doesn't determine the pull request number correctly:
Run potiuk/get-workflow-origin@v1_1
with:
token: ***
sourceRunId: 4[2](https://github.com/flyweightrocks/nebula/actions/runs/4202039823/jobs/7289700802#step:2:2)020[3](https://github.com/flyweightrocks/nebula/actions/runs/4202039823/jobs/7289700802#step:2:3)7368
[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead
[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead
Getting workflow id for source run id: [4](https://github.com/flyweightrocks/nebula/actions/runs/4202039823/jobs/7289700802#step:2:4)202037368, owner: flyweightrocks, repo: nebula
The source run 4202037368 is in https://api.github.com/repos/flyweightrocks/nebula/actions/workflows/48[5](https://github.com/flyweightrocks/nebula/actions/runs/4202039823/jobs/7289700802#step:2:6)8[6](https://github.com/flyweightrocks/nebula/actions/runs/4202039823/jobs/7289700802#step:2:7)1[7](https://github.com/flyweightrocks/nebula/actions/runs/4202039823/jobs/7289700802#step:2:8)0 workflow
Repository: flyweightrocks/nebula, Owner: flyweightrocks, Repo: nebula, Event name: workflow_run,sourceWorkflowId: 4[8](https://github.com/flyweightrocks/nebula/actions/runs/4202039823/jobs/7289700802#step:2:9)586170, sourceRunId: 4202037368, selfRunId: 420203[9](https://github.com/flyweightrocks/nebula/actions/runs/4202039823/jobs/7289700802#step:2:10)823,
Source workflow: Head repo: flyweightrocks/nebula, Head branch: master Event: issue_comment, Head sha: ce6e183eeac85ab7ee[10](https://github.com/flyweightrocks/nebula/actions/runs/4202039823/jobs/7289700802#step:2:11)ee960e36250029c7c043, url: https://api.github.com/repos/flyweightrocks/nebula/actions/runs/4202037368
Setting output: sourceHeadRepo: flyweightrocks/nebula
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-[11](https://github.com/flyweightrocks/nebula/actions/runs/4202039823/jobs/7289700802#step:2:12)-github-actions-deprecating-save-state-and-set-output-commands/
Setting output: sourceHeadBranch: master
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Setting output: sourceHeadSha: ce6e183eeac85ab7ee10ee960e36250029c7c043
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Setting output: sourceEvent: issue_comment
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Setting output: pullRequestNumber:
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Setting output: pullRequestLabels: []
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Setting output: mergeCommitSha:
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Setting output: targetCommitSha: ce6e[18](https://github.com/flyweightrocks/nebula/actions/runs/4202039823/jobs/7289700802#step:2:19)3eeac85ab7ee10ee960e36250029c7c043
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
############### Get Workflow Origin complete ##################
Did you consider supporting this issue_event
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.