Skip to content

restrict how the azure-preview-env-deploy.yml workflow runs #19024

@jsoref

Description

@jsoref

Code of Conduct

What article on docs.github.com is affected?

This isn't specific to any particular article.

What changes are you suggesting?

This workflow: https://github.com/github/docs/blob/main/.github/workflows/azure-preview-env-deploy.yml (and quite possibly others) should be changed so that it checks to see if it has enough secrets to run in the repository in which it's running, and if not, quit gracefully.

(Alternatively, it could only run if the repository is github/docs or the internal repository...)

Additional information

There was a user who tried to make a pull request into their own fork of github/docs, and the results were not good

image
https://github.com/jaystyles/docs/runs/6728372344?check_suite_focus=true
https://github.com/jaystyles/docs/runs/6729214425?check_suite_focus=true
...
https://github.com/jaystyles/docs/runs/6753841425?check_suite_focus=true
...
image
https://github.com/jaystyles/docs/runs/6771319636?check_suite_focus=true
https://github.com/jaystyles/docs/runs/6771735158?check_suite_focus=true
https://github.com/jaystyles/docs/runs/6775149948?check_suite_focus=true
...
image
https://github.com/jaystyles/docs/runs/6787590305?check_suite_focus=true
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamstaleThere is no recent activity on this issue or pull requestwaiting for reviewIssue/PR is waiting for a writer's review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions