From e959014c8cc222c4850ccd9d3d80dac9c3425f41 Mon Sep 17 00:00:00 2001 From: Mathieu Fenniak Date: Sat, 27 Dec 2025 17:23:47 +0100 Subject: [PATCH] test: remove diagnostic output in 'copy to experimental' (#10591) Cleans up diagnostic output added in #10586. ## Checklist The [contributor guide](https://forgejo.org/docs/next/contributor/) contains information that will be helpful to first time contributors. There also are a few [conditions for merging Pull Requests in Forgejo repositories](https://codeberg.org/forgejo/governance/src/branch/main/PullRequestsAgreement.md). You are also welcome to join the [Forgejo development chatroom](https://matrix.to/#/#forgejo-development:matrix.org). ### Tests - I added test coverage for Go changes... - [ ] in their respective `*_test.go` for unit tests. - [ ] in the `tests/integration` directory if it involves interactions with a live Forgejo server. - I added test coverage for JavaScript changes... - [ ] in `web_src/js/*.test.js` if it can be unit tested. - [ ] in `tests/e2e/*.test.e2e.js` if it requires interactions with a live Forgejo server (see also the [developer guide for JavaScript testing](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/tests/e2e/README.md#end-to-end-tests)). ### Documentation - [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs) to explain to Forgejo users how to use this change. - [x] I did not document these changes and I do not expect someone else to do it. ### Release notes - [x] I do not want this change to show in the release notes. - [ ] I want the title to show in the release notes with a link to this pull request. - [ ] I want the content of the `release-notes/.md` to be be used for the release notes instead of the title. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10591 Reviewed-by: floss4good Reviewed-by: Michael Kriese Co-authored-by: Mathieu Fenniak Co-committed-by: Mathieu Fenniak --- .forgejo/workflows/build-release.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.forgejo/workflows/build-release.yml b/.forgejo/workflows/build-release.yml index 11a3d5f2c7..4a17e30174 100644 --- a/.forgejo/workflows/build-release.yml +++ b/.forgejo/workflows/build-release.yml @@ -227,21 +227,12 @@ jobs: curl -sS -X DELETE $url/api/v1/repos/forgejo-experimental/forgejo/releases/tags/$tag > /dev/null curl -sS -X DELETE $url/api/v1/repos/forgejo-experimental/forgejo/tags/$tag > /dev/null fi - - # FIXME: remove these diagnostic commands that are intended to ensure the `rm` below works. - git config --list - echo "RUNNER_TEMP = $RUNNER_TEMP" - # actions/checkout@v6 sets http.https://codeberg.org/.extraheader with the automatic token. Get rid of it so # it does not prevent using the token that has write permissions. As of @v6, it is stored in # $RUNNER_TEMP/git-credentials-(uuid).config and included in the repo via # includeif.gitdir:...=$RUNNER_TEMP/git-credentials-(uuid).config. Since we don't need these credentials # anymore we can just remove the generated config file. rm -f $RUNNER_TEMP/git-credentials-* - - # FIXME: remove these diagnostic comamnds that are intended to ensure the `rm` above works. - git config --list - if test -f .git/shallow ; then echo "unexpected .git/shallow file is present" echo "it suggests a checkout --depth X was used which may prevent pushing the commit"