Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 22, 2021

Bumps cachix/install-nix-action from 15 to 16.

Release notes

Sourced from cachix/install-nix-action's releases.

install-nix-action-v16

The last release didn't fix https://github.com/nektos/act correctly.

This release corrects that and adds a test (you need act from master branch).

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 22, 2021
mmlb added a commit that referenced this pull request Nov 30, 2021
Dependabot based push/pr builds don't have access to the quay secrets
it seems (github magic?) (see [1], [2]) so lets avoid it all together.
Dependabot pushes/PRs can be recognized by the github.actor value according
to the GitHub docs[3].

[1]: #89
[2]: #95
[3]: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions#handling-pull_request-events

Signed-off-by: Manuel Mendez <mmendez@equinix.com>
mmlb added a commit that referenced this pull request Nov 30, 2021
Dependabot based push/pr builds don't have access to the quay secrets
it seems (github magic?) (see [1], [2]) so lets avoid it all together.
Dependabot pushes/PRs can be recognized by the github.actor value according
to the GitHub docs[3].

Fixes #92

[1]: #89
[2]: #95
[3]: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions#handling-pull_request-events

Signed-off-by: Manuel Mendez <mmendez@equinix.com>
mmlb added a commit that referenced this pull request Nov 30, 2021
Dependabot based push/pr builds don't have access to the quay secrets
it seems (github magic?) (see [1], [2]) so lets avoid it all together.
Dependabot pushes/PRs can be recognized by the github.actor value according
to the GitHub docs[3].

Fixes #92

[1]: #89
[2]: #95
[3]: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions#handling-pull_request-events

Signed-off-by: Manuel Mendez <mmendez@equinix.com>
mmlb added a commit that referenced this pull request Nov 30, 2021
Dependabot based push/pr builds don't have access to the quay secrets
it seems (github magic?) (see [1], [2]) so lets avoid it all together.
Dependabot pushes/PRs can be recognized by the github.actor value according
to the GitHub docs[3].

Fixes #92

[1]: #89
[2]: #95
[3]: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions#handling-pull_request-events

Signed-off-by: Manuel Mendez <mmendez@equinix.com>
mmlb added a commit that referenced this pull request Nov 30, 2021
Dependabot PRs are different than other non-contributor PRs in that the branch
comes from this repo, which normally allows the secret to be available for CI
yet the builds still fail (see [1], [2]). It seems that GitHub does not make
secrets available for these PRs as yet another special case [3]. If we skip
logging in to quay for dependabot then we side step this all together.

Dependabot pushes/PRs can be recognized by the github.actor value according to
the GitHub docs [3].

[1]: #89
[2]: #95
[3]: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions#handling-pull_request-events

Fixes #92

Signed-off-by: Manuel Mendez <mmendez@equinix.com>
mergify bot added a commit that referenced this pull request Nov 30, 2021
## Description

Avoids logging into quay for dependabot builds.

## Why is this needed

Fixes #92

Dependabot PRs are different than other non-contributor PRs in that the branch comes from this repo, which normally allows the secret to be available for CI yet the builds still fail (see [1], [2]). It seems that GitHub does not make secrets available for these PRs as yet another special case [3]. If we skip logging in to quay for dependabot then we side step this all together.

Dependabot pushes/PRs can be recognized by the github.actor value according to the GitHub docs [3].

[1]: #89
[2]: #95
[3]: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions#handling-pull_request-events

I wanted to avoid logging in for non main pushes all together but that may make kernel testing harder than strictly necessary.

## How Has This Been Tested?

CI?

## How are existing users impacted? What migration steps/scripts do we need?

Updated dependencies sooner hopefully.
@mmlb
Copy link
Contributor

mmlb commented Nov 30, 2021

@dependabot rebase

Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 15 to 16.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](cachix/install-nix-action@v15...v16)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/github_actions/cachix/install-nix-action-16 branch from cbf216b to 25c9291 Compare November 30, 2021 20:39
@mmlb mmlb added the ready-to-merge Signal to Mergify to merge the PR. label Nov 30, 2021
@mergify mergify bot merged commit 07b0c29 into main Nov 30, 2021
@mergify mergify bot deleted the dependabot/github_actions/cachix/install-nix-action-16 branch November 30, 2021 20:42
mmlb added a commit that referenced this pull request Nov 30, 2021
We skip logging in to quay.io when github.actor is dependabot in [#96] but
did not check if any pushes were attempted. This was missed in the subsequent
dependabot PRs [#89] and [#95] because there was no branch protection setup
and I added the ready-to-merge label so mergify merged it :(. This should fix
that.

[#89]: #89
[#95]: #95
[#96]: #96

Signed-off-by: Manuel Mendez <mmendez@equinix.com>
mmlb added a commit that referenced this pull request Nov 30, 2021
We skipped logging in to quay.io when github.actor is dependabot in [#96] but
did not check if any pushes were attempted. This was missed in the subsequent
dependabot PRs [#89] and [#95] because there was no branch protection setup
and I added the ready-to-merge label so mergify merged it :(. This should fix
that.

[#89]: #89
[#95]: #95
[#96]: #96

Signed-off-by: Manuel Mendez <mmendez@equinix.com>
mmlb added a commit that referenced this pull request Nov 30, 2021
We skipped logging in to quay.io when github.actor is dependabot in [#96] but
did not check if any pushes were attempted. This change will avoid that
failure.

This was missed in the subsequent dependabot PRs [#89] and [#95] because there
was no branch protection setup and I added the ready-to-merge label so mergify
merged it :(. I've added branch protection to require the actions to pass.

[#89]: #89
[#95]: #95
[#96]: #96

Signed-off-by: Manuel Mendez <mmendez@equinix.com>
mergify bot added a commit that referenced this pull request Nov 30, 2021
## Description

Avoids pushing to quay if the PR/push originates from dependabot.

## Why is this needed

We skipped logging in to quay.io when github.actor is dependabot in [#96] but
did not check if any pushes were attempted. This change will avoid that
failure.

This was missed in the subsequent dependabot PRs [#89] and [#95] because there
was no branch protection setup and I added the ready-to-merge label so mergify
merged it :(. I've added branch protection to require the actions to pass.

[#89]: #89
[#95]: #95
[#96]: #96

## How Has This Been Tested?

CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ready-to-merge Signal to Mergify to merge the PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants