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

chore: Use Github environment for CI secrets #1311

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

lucasmcdonald3
Copy link
Contributor

@lucasmcdonald3 lucasmcdonald3 commented Jan 10, 2023

Issue #, if available:

Description of changes:

  • Add config for CI jobs to use the ci Github environment to access secrets.

Once this change is merged, I would validate it by opening a no-op PR from my fork.

This change has 2 assumptions: 1) Environment secrets are passed to fork-origin PRs (may need to add environment approver to ci environment); 2) The GHA workflow for a fork-origin PR will be authenticated as the main repo. If either of these are false, this change probably won't work. If that happens, we can revert the change.

Pending team discussion, we may swap out the aws-codebuild-run-build action with a bash script.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Check any applicable:

  • Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.

@lucasmcdonald3 lucasmcdonald3 requested a review from a team as a code owner January 10, 2023 17:17
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:17 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:17 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:17 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:17 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:17 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:17 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:18 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:18 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:18 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:18 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:22 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:22 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:22 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:22 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:49 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:49 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:49 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:49 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:49 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:49 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:50 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:50 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:50 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:50 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:50 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 17:53 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 20:22 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 20:22 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 20:22 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 20:22 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 20:22 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 20:22 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 20:22 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 20:22 — with GitHub Actions Inactive
@lucasmcdonald3 lucasmcdonald3 temporarily deployed to ci January 10, 2023 20:22 — with GitHub Actions Inactive
@lucasmcdonald3
Copy link
Contributor Author

lucasmcdonald3 commented Jan 13, 2023

Leaving a comment here -- I'm about to push a change to this branch that I expect will reduce the number of "temporarily deployed to ci" messages, and want an anchor to measure against.

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

Successfully merging this pull request may close these issues.

2 participants