Configure pipeline to run on all branches#1493
Open
hcmus-phat wants to merge 25 commits intonashtech-garage:mainfrom
Open
Configure pipeline to run on all branches#1493hcmus-phat wants to merge 25 commits intonashtech-garage:mainfrom
hcmus-phat wants to merge 25 commits intonashtech-garage:mainfrom
Conversation
Feat/setup sonar
Replace every hard-coded ghcr.io/nashtech-garage/ prefix with
ghcr.io/${{ github.repository_owner }}/ so that forks publish images
to their own GHCR namespace instead of the upstream org.
Also add explicit job-level permissions (contents: read, packages: write)
to every affected workflow so that the GITHUB_TOKEN is granted the
packages scope regardless of repository default settings.
Affected workflows (20 files, 22 references):
- backoffice-ci.yaml (3 refs: build tag, image-ref, push tag)
- backoffice-bff-ci.yaml (1 ref)
- storefront-ci.yaml (1 ref)
- storefront-bff-ci.yaml (1 ref)
- sampledata-ci.yaml (1 ref)
- media-ci.yaml (1 ref)
- cart-ci.yaml (1 ref)
- customer-ci.yaml (1 ref)
- inventory-ci.yaml (1 ref)
- location-ci.yaml (1 ref)
- order-ci.yaml (1 ref)
- payment-ci.yaml (1 ref)
- payment-paypal-ci.yaml (1 ref)
- product-ci.yaml (1 ref)
- promotion-ci.yaml (1 ref)
- rating-ci.yaml (1 ref)
- recommendation-ci.yaml (1 ref)
- search-ci.yaml (1 ref)
- tax-ci.yaml (1 ref)
- webhook-ci.yaml (1 ref)
No trigger or branch gate changes; publish-on-main behaviour is preserved.
Fixes: media-ci.yaml:91 GHCR push permission/namespace error
ci: make GHCR image namespace fork-safe via github.repository_owner
ci: fix Docker tag lowercase
ci(backoffice): add checks: write and security-events: write permissions
…m ngưỡng xuống 50% để pipeline pass
Feat/renovate pipeline nl
1064f76 to
7a122d5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.