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

ci: update deploy-docs authorized users #1283

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

mrossinek
Copy link
Member

Summary

In order to deploy the documentation to the public URL, a Github action needs to be triggered manually. In order to avoid anyone being able to do this, the script which is being run asserts the username of the github.actor to be in a hard-coded list of authorized users.

This commit updates this list in accordance with the recent CODEOWNER changes.

I believe, that there must be a better way to handle/restrict access to who can trigger this action, but for the time being I will simply do this quick fix.

Details and comments

In order to deploy the documentation to the public URL, a Github action
needs to be triggered manually. In order to avoid anyone being able to
do this, the script which is being run asserts the username of the
`github.actor` to be in a hard-coded list of authorized users.

This commit updates this list in accordance with the recent CODEOWNER
changes.

I believe, that there must be a better way to handle/restrict access to
who can trigger this action, but for the time being I will simply do
this quick fix.
@mrossinek mrossinek added the stable backport potential The bug might be minimal and/or import enough to be port to stable label Nov 27, 2023
@coveralls
Copy link

Pull Request Test Coverage Report for Build 7006993017

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 86.768%

Totals Coverage Status
Change from base Build 7006698779: 0.0%
Covered Lines: 8767
Relevant Lines: 10104

💛 - Coveralls

@mrossinek mrossinek merged commit 4ce231e into qiskit-community:main Nov 27, 2023
13 checks passed
@mrossinek mrossinek deleted the update_deploy_docs branch November 27, 2023 16:03
mergify bot pushed a commit that referenced this pull request Nov 27, 2023
In order to deploy the documentation to the public URL, a Github action
needs to be triggered manually. In order to avoid anyone being able to
do this, the script which is being run asserts the username of the
`github.actor` to be in a hard-coded list of authorized users.

This commit updates this list in accordance with the recent CODEOWNER
changes.

I believe, that there must be a better way to handle/restrict access to
who can trigger this action, but for the time being I will simply do
this quick fix.

(cherry picked from commit 4ce231e)
mergify bot added a commit that referenced this pull request Nov 27, 2023
In order to deploy the documentation to the public URL, a Github action
needs to be triggered manually. In order to avoid anyone being able to
do this, the script which is being run asserts the username of the
`github.actor` to be in a hard-coded list of authorized users.

This commit updates this list in accordance with the recent CODEOWNER
changes.

I believe, that there must be a better way to handle/restrict access to
who can trigger this action, but for the time being I will simply do
this quick fix.

(cherry picked from commit 4ce231e)

Co-authored-by: Max Rossmannek <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stable backport potential The bug might be minimal and/or import enough to be port to stable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants