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

Only run actions from jenkinsci organization #1100

Merged
merged 1 commit into from
Jan 20, 2024

Conversation

AniketNS
Copy link
Contributor

@AniketNS AniketNS commented Jan 20, 2024

Only run actions from jenkinsci organization

Using this condition will help avoid unnecessary runs in repositories where the workflow is not applicable. This same check is implemented in gitlab-plugin project in file https://github.com/jenkinsci/gitlab-plugin/blob/master/.github/workflows/release-drafter.yml

Checklist

  • I have read the CONTRIBUTING doc
  • I have referenced the Jira issue related to my changes in one or more commit messages
  • Unit tests pass locally with my changes
  • I have added documentation as necessary
  • No Javadoc warnings were introduced with my changes
  • No spot bugs warnings were introduced with my changes
  • I have interactively tested my changes

Types of changes

What types of changes does your code introduce?

  • Infrastructure change (non-breaking change which updates dependencies or improves infrastructure)

@AniketNS AniketNS requested a review from a team as a code owner January 20, 2024 11:14
@github-actions github-actions bot added the skip-changelog Exclude from the changelog label Jan 20, 2024
Copy link
Contributor

@MarkEWaite MarkEWaite left a comment

Choose a reason for hiding this comment

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

Thanks!

@MarkEWaite MarkEWaite changed the title Added additional check in release-drafter.yml github action file Only run actions from jenkinsci organization Jan 20, 2024
@MarkEWaite MarkEWaite added chore Reduces maintenance effort by changes not directly visible to users and removed skip-changelog Exclude from the changelog labels Jan 20, 2024
@MarkEWaite MarkEWaite merged commit e80446d into jenkinsci:master Jan 20, 2024
15 checks passed
@AniketNS AniketNS deleted the git-act branch January 20, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Reduces maintenance effort by changes not directly visible to users
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants