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

Add GITHUB_TOKEN to Flux GitHub Action #3501

Merged
merged 1 commit into from
Jan 23, 2023

Conversation

kingdonb
Copy link
Member

@kingdonb kingdonb commented Jan 21, 2023

Hello, the PR in #3474 is still blocked

I'm going to rebase and squash, but here's a reference to the original commit I made which adds just one change to the existing PR is:

  • fac1982
    to make the review easier, you might want to check that one first.

  • c7a4876

  • is 1538522 rebased against the current main branch without any other changes

I noticed that this doesn't only affect flux update job which runs hourly, but can even impact GitHub actions jobs that embed the "install flux" action inline!

Trying to get this unblocked, I've added the one suggestion from #3474 (comment) rebased and resubmitted this PR so that it can merge.

I'm going to go ahead and pre-emptively squash all the commits, as well, to simplify the merge.

Fix: #3455

feat: add ability to auth to github api
docs: add authentication snippet example
docs: update checkout@v3, create-pull-request@v4
docs: add documentation about the github token secret

Review: Add suggested change from last week

(per
fluxcd#3474 (comment))

Signed-off-by: Erik Kristensen <erik@erikkristensen.com>
Signed-off-by: Kingdon Barrett <kingdon@weave.works>
@kingdonb kingdonb force-pushed the flux-action-updates branch from fac1982 to 8ff8295 Compare January 21, 2023 18:07
@kingdonb
Copy link
Member Author

I maintained the original author from #3474 the way I squashed, but it has my signature, hope this is OK – does not seem to bother DCO checker that I did it this way.

Thanks to @ekristen for submitting this, hope this re-submit can quickly push it over the line!

@stefanprodan stefanprodan changed the title Flux action updates (finish #3474) Add GITHUB_TOKEN to Flux GitHub Action Jan 23, 2023
@stefanprodan stefanprodan added the enhancement New feature or request label Jan 23, 2023
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stefanprodan stefanprodan merged commit ca2b93b into fluxcd:main Jan 23, 2023
@kingdonb kingdonb deleted the flux-action-updates branch January 23, 2023 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitHub Actions unreliable
3 participants