[PR #1661] Update dev-image #1166

Open
opened 2025-11-13 12:19:37 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/pangolin/pull/1661
Author: @Lokowitz
Created: 10/13/2025
Status: 🔄 Open

Base: mainHead: fix-dev-image


📝 Commits (5)

  • 6879cd5 Update dev-image.yml
  • e94a666 Merge remote-tracking branch 'upstream/main' into fix-dev-image
  • 88b4321 Merge branch 'fosrl:main' into fix-dev-image
  • 3877089 Enhance Docker build workflow with tagging and jobs
  • d0c8b85 Fix Docker build args and add context in workflow

📊 Changes

1 file changed (+158 additions, -0 deletions)

View changed files

.github/workflows/dev-image.yml (+158 -0)

📄 Description

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

Sorry for the delay on fixing this.

I have been trying to figure out why this is failing and I think it is because actions from PRs can't use secrets because they would be accessible and leaked.
I removed it for now but am open to adding it back if we figure the right way to push.

Yes on pull_request is just working when someone from the team ist creating the PR, otherwiese no secrets will be available.
On pull_request_target secrects are available. But this workflow will then run with code from the PR target (trusted code).
So we have to merge in the new code with checkout. To be save that no one creates a PR which is stealing the secrets i have added an environment build-dev. This will bring up an approval for running the workflow.

It is not super nice to have this approval step but otherwise it will be to risky.

Important

Be sure to first create the environment and select at least one reviewer before merging.
image

Fix https://github.com/fosrl/pangolin/pull/1625


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fosrl/pangolin/pull/1661 **Author:** [@Lokowitz](https://github.com/Lokowitz) **Created:** 10/13/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix-dev-image` --- ### 📝 Commits (5) - [`6879cd5`](https://github.com/fosrl/pangolin/commit/6879cd5d1feca522af4bf2cff1cbebe6de057da3) Update dev-image.yml - [`e94a666`](https://github.com/fosrl/pangolin/commit/e94a6666fe37ecef33045273c29c737c15d7ce25) Merge remote-tracking branch 'upstream/main' into fix-dev-image - [`88b4321`](https://github.com/fosrl/pangolin/commit/88b43215a09acb3e105869fdfc1da9535feddcc3) Merge branch 'fosrl:main' into fix-dev-image - [`3877089`](https://github.com/fosrl/pangolin/commit/38770896962c4b5299f3f83a084323d9510d94f2) Enhance Docker build workflow with tagging and jobs - [`d0c8b85`](https://github.com/fosrl/pangolin/commit/d0c8b856329b3be013c67dfb9ddc5f6e4292dcc0) Fix Docker build args and add context in workflow ### 📊 Changes **1 file changed** (+158 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/dev-image.yml` (+158 -0) </details> ### 📄 Description ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description Sorry for the delay on fixing this. > I have been trying to figure out why this is failing and I think it is because actions from PRs can't use secrets because they would be accessible and leaked. > I removed it for now but am open to adding it back if we figure the right way to push. Yes on `pull_request` is just working when someone from the team ist creating the PR, otherwiese no secrets will be available. On `pull_request_target` secrects are available. But this workflow will then run with code from the PR target (trusted code). So we have to merge in the new code with `checkout`. To be save that no one creates a PR which is stealing the secrets i have added an environment `build-dev`. This will bring up an approval for running the workflow. It is not super nice to have this approval step but otherwise it will be to risky. > [!IMPORTANT] > Be sure to first create the environment and select at least one reviewer before merging. <img width="1183" height="662" alt="image" src="https://github.com/user-attachments/assets/51b73fbf-1299-4aff-b21e-64c729c3902f" /> Fix https://github.com/fosrl/pangolin/pull/1625 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the
pull-request
label 2025-11-13 12:19:37 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#1166
No description provided.