Skip to content

Comments

ci: avoids latest-release workflow to run on forks#1508

Closed
helio-frota wants to merge 1 commit intoguacsec:mainfrom
helio-frota:issue-1507
Closed

ci: avoids latest-release workflow to run on forks#1508
helio-frota wants to merge 1 commit intoguacsec:mainfrom
helio-frota:issue-1507

Conversation

@helio-frota
Copy link
Contributor

Closes #1507

@helio-frota helio-frota requested a review from ctron April 2, 2025 12:45
@ctron
Copy link
Contributor

ctron commented Apr 2, 2025

What is the exact issue we run into? I think every fork should be able doing this.

@helio-frota
Copy link
Contributor Author

This is to prevent this failure when updating forks:

2025-04-02_09-51

@helio-frota
Copy link
Contributor Author

helio-frota commented Apr 2, 2025

I think every fork should be able doing this.

This means I need to configure something in the fork to avoid this error and probably makes no sense for a fork to publish artifacts. Although I don't know if this happens to other people 🤔

Error: writing blob: initiating layer upload to /v2/helio-frota/trustd/blobs/uploads/ in ghcr.io: denied: permission_denied: write_package
Removing temporary Podman image storage for pulling from Docker daemon
/usr/bin/podman --root /tmp/podman-from-docker-2HR3I4 rmi -a -f
(node:7397) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)
Error: podman exited with code 125
Error: writing blob: initiating layer upload to /v2/helio-frota/trustd/blobs/uploads/ in ghcr.io: denied: permission_denied: write_package

@ctron
Copy link
Contributor

ctron commented Apr 2, 2025

I does work fine for my fork: https://github.com/ctron/trustify/actions/runs/14190434291 … Though I'm not sure I configured anything specifically.

@helio-frota
Copy link
Contributor Author

helio-frota commented Apr 2, 2025

thanks, yeah I see your fork is working fine:

2025-04-02_10-24

my fork is missing packages and deployments part and contains a different number of release-tags 🤷

2025-04-02_10-25

@helio-frota
Copy link
Contributor Author

@ctron I'm ok closing the issue and PR...

I'll follow @jcrossley3 way on disabling actions on my fork 👍

@helio-frota helio-frota closed this Apr 2, 2025
@helio-frota helio-frota deleted the issue-1507 branch April 3, 2025 11:27
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.

prevent latest-release workflow to run on forks

2 participants