Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some workflows refer to actions using relative paths in another repo (i.e. Microsoft) #63

Open
fproulx-boostsecurity opened this issue May 7, 2024 · 1 comment

Comments

@fproulx-boostsecurity
Copy link
Contributor

Take this repo
https://github.com/devcontainers/cli/blob/b7fb42b67ee4b7dc11e0e533cff3bb3b12e22134/.github/workflows/build-chat.yml#L22-L49

They actions/checkout another repo, namely microsoft/vscode-github-triage-actions and do npm install, then uses: that follow often use actions built from that.

Basically severals dozens of highly value Microsoft repos use this pattern…
https://github.com/search?q=%28org%3Amicrosoft+OR+org%3Adotnet+OR+org%3Adevcontain[…]2Fworkflows%5C%2F%2F++NOT+is%3Aarchived+NOT+is%3Afork&type=code

build-chat.yml
https://github.com/[devcontainers/cli](https://github.com/devcontainers/cli)|devcontainers/clidevcontainers/cli | Added by GitHub
10:04

So much so that those in that microsoft repo are NEVER used like uses: microsoft/vscode-github-triage-actions@... they are 100% used like this ^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant