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

Change how scorecard action is executed #643

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

claudioandre-br
Copy link
Member

@claudioandre-br claudioandre-br commented Nov 22, 2024

Describe your changes

Ensure the job is only run in the project's original repository.

Use a new approach to control and filter when the action is executed:

  1. only in the original repository;
  2. only targeting the main branch.

Plus:

  1. or in a scheduled execution;
  2. or in a push for main.

In fact, all actions will be changed if this works properly.

Checklist before requesting a review

  • I checked that all workflows return a success.
  • I have performed a self-review of my code.
  • I have added tests that prove my fix is effective or that my feature works.
  • I followed the Conventional Commit spec.

Maintainer tasks

  • Label as either: bug, ci, docker, documentation, enhancement.
  • Sign unsigned commits.

@claudioandre-br claudioandre-br added the ci Continuous integration and/or continuous delivery label Nov 22, 2024
Ensure the job is only run in the project's original repository.

Use a new approach to control and filter when the action is executed:
1. only in the original repository;
2. only targeting the main branch.

Plus:
1. or in a scheduled execution;
2. or in a push for main.

Signed-off-by: Claudio André <[email protected]>
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Auto approved PR

@claudioandre-br
Copy link
Member Author

bot: MERGE status

Copy link

🤖: status
- reviewDecision: APPROVED ✔
- mergeStateStatus: BLOCKED ❌

@claudioandre-br claudioandre-br merged commit 2a996f6 into openwall:main Nov 22, 2024
10 checks passed
@claudioandre-br
Copy link
Member Author

The bot itself can't change an action recipe. Tomorrow we'll see if it complains about workflow dependencies

@claudioandre-br claudioandre-br deleted the fix/scorecard branch November 22, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous integration and/or continuous delivery
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant