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 publish-nightly action on the main repo #1868

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

jihuayu
Copy link
Member

@jihuayu jihuayu commented Nov 2, 2023

This RP adds a running condition to the 'Publish nightly Docker image' action, so that the action will only run on the main repository of Apache. This way, forked projects will not get a red cross likes this.

Refer:
[1] https://docs.github.com/en/actions/using-jobs/using-jobs-in-a-workflow#example-not-requiring-successful-dependent-jobs
[2] https://docs.github.com/en/actions/learn-github-actions/contexts

Copy link

sonarcloud bot commented Nov 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@git-hulk
Copy link
Member

git-hulk commented Nov 2, 2023

@jihuayu Good catch!

@git-hulk git-hulk merged commit 6836f24 into apache:unstable Nov 3, 2023
31 checks passed
@jihuayu jihuayu deleted the pr/2123 branch November 8, 2023 11:37
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.

3 participants