Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/.github/workflows
AgeCommit message (Collapse)Author
2026-01-09Fix tag handling: preserve annotations and explicit fetch-tags (#2356)v6.0.2eric sciple
This PR fixes several issues with tag handling in the checkout action: 1. fetch-tags: true now works (fixes #1471) - Tags refspec is now included in getRefSpec() when fetchTags=true - Previously tags were only fetched during a separate fetch that was overwritten by the main fetch 2. Tag checkout preserves annotations (fixes #290) - Tags are fetched via refspec (+refs/tags/*:refs/tags/*) instead of --tags flag - This fetches the actual tag objects, preserving annotations 3. Tag checkout with fetch-tags: true no longer fails (fixes #1467) - When checking out a tag with fetchTags=true, only the wildcard refspec is used (specific tag refspec is redundant) Changes: - src/ref-helper.ts: getRefSpec() now accepts fetchTags parameter and prepends tags refspec when true - src/git-command-manager.ts: fetch() simplified to always use --no-tags, tags are fetched explicitly via refspec - src/git-source-provider.ts: passes fetchTags to getRefSpec() - Added E2E test for fetch-tags option Related #1471, #1467, #290
2025-12-01Add worktree support for persist-credentials includeIf (#2327)eric sciple
2025-11-23Update all references from v5 and v4 to v6 (#2314)eric sciple
- Updated README.md examples to reference @v6 - Updated all workflow files to use actions/checkout@v6
2025-11-03Persist creds to a separate file (#2286)eric sciple
2025-08-11Prepare v5.0.0 release (#2238)v5.0.0Salman Chishti
2025-08-11Update actions checkout to use node 24 (#2226)Salman Chishti
* use node 24 * update other parts to node 24 * bump to major version, audit fix, changelog * update licenses * update dist * update major version * will do separate pr for v5 and will do a minor version for previous changes
2024-10-03Add workflow file for publishing releases to immutable action package (#1919)Joel Ambass
This workflow file publishes new action releases to the immutable action package of the same name as this repo. This is part of the Immutable Actions project which is not yet fully released to the public. First party actions like this one are part of our initial testing of this feature.
2024-09-05Add Ref and Commit outputs (#1180)Luca Comellini
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2024-07-29Bump docker/build-push-action from 5.3.0 to 6.5.0 (#1832)dependabot[bot]
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5.3.0 to 6.5.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v5.3.0...v6.5.0) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29Bump docker/login-action in the minor-actions-dependencies group (#1831)dependabot[bot]
Bumps the minor-actions-dependencies group with 1 update: [docker/login-action](https://github.com/docker/login-action). Updates `docker/login-action` from 3.1.0 to 3.3.0 - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v3.1.0...v3.3.0) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-actions-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-12Pin actions/checkout's own workflows to a known, good, stable version. (#1776)John Wesley Walker III
* Pin actions/checkout's own workflows to a known, good, stable version. * fixed failing unit test * fix unit test
2024-05-20Bump actions/checkout from 3 to 4 (#1697)dependabot[bot]
* Bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Apply suggestions from code review * . --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Cory Miller <13227161+cory-miller@users.noreply.github.com>
2024-04-30README: Suggest `user.email` to be ↵v4.1.5Cory Miller
`41898282+github-actions[bot]@users.noreply.github.com` (#1707) * README: Set `user.email` to GitHub Actions Bot * Update workflow to use proper bot GitHub Bot email * Prefix `user.email` with `41898282+` To match squash merge user, else showing as two different users, see: https://github.com/SocketDev/socket-sdk-js/commit/b0948d0da0cfb5b240c69d063cc34a6399abce48 * Update README.md --------- Co-authored-by: Pelle Wessman <pelle@kodfabrik.se>
2024-04-24Bump actions/upload-artifact from 2 to 4 (#1695)dependabot[bot]
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-24Bump actions/setup-node from 1 to 4 (#1696)dependabot[bot]
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1 to 4. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v1...v4) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-24Bump github/codeql-action from 2 to 3 (#1694)dependabot[bot]
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23Disable `extensions.worktreeConfig` when disabling `sparse-checkout` (#1692)John Wesley Walker III
2024-04-23Bump the minor-actions-dependencies group with 2 updates (#1693)dependabot[bot]
Bumps the minor-actions-dependencies group with 2 updates: [docker/login-action](https://github.com/docker/login-action) and [docker/build-push-action](https://github.com/docker/build-push-action). Updates `docker/login-action` from 3.0.0 to 3.1.0 - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v3.0.0...v3.1.0) Updates `docker/build-push-action` from 5.1.0 to 5.3.0 - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v5.1.0...v5.3.0) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-actions-dependencies - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-actions-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12Update `actions/checkout` version in `update-main-version.yml` (#1650)John Wesley Walker III
2024-02-22Warn on attempts to publish `test-ubuntu-git` from non-main branch. (#1623)John Wesley Walker III
* Warn on attempts to publish test-ubuntu-git from non-main branch. * Rename build step to clarify that Push is optional.
2024-02-21Explicitly disable sparse checkout unless asked for (#1598)Johannes Schindelin
When a worktree is reused by actions/checkout and the first time sparse checkout was enabled, we need to ensure that the second time it is only a sparse checkout if explicitly asked for. Otherwise, we need to disable the sparse checkout so that a full checkout is the outcome of this Action. ## Details * If no `sparse-checkout` parameter is specified, disable it This should allow users to reuse existing folders when running `actions/checkout` where a previous run asked for a sparse checkout but the current run does not ask for a sparse checkout. This fixes https://github.com/actions/checkout/issues/1475 There are use cases in particular with non-ephemeral (self-hosted) runners where an existing worktree (that has been initialized as a sparse checkout) is reused in subsequent CI runs (where `actions/checkout` is run _without_ any `sparse-checkout` parameter). In these scenarios, we need to make sure that the sparse checkout is disabled before checking out the files. ### Also includes: * npm run build * ci: verify that an existing sparse checkout can be made unsparse * Added a clarifying comment about test branches. * `test-proxy` now uses newly-minted `test-ubuntu-git` container image from ghcr.io --------- Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Co-authored-by: John Wesley Walker III <81404201+jww3@users.noreply.github.com>
2024-02-21Refine workflow for generating `test-ubuntu-git` (#1617)John Wesley Walker III
2024-02-20Create `test-ubuntu-git` Docker Container for Proxy Tests (#1616)John Wesley Walker III
2023-09-22Add support for partial checkout filters (#1396)Finley Garton
* added filter option & tests * added build file * fix test oversight * added exit 1 * updated docs to specify override * undo unneeded readme change * set to undefined rather than empty string * run git config in correct di --------- Co-authored-by: Cory Miller <13227161+cory-miller@users.noreply.github.com>
2023-09-04Release 4.0.0 (#1447)Tatyana Kostromskaya
* Release 4.0.0 * Add new major version to workflow
2023-08-29Update default runtime to node20 (#1436)Tatyana Kostromskaya
* . * update workflows
2023-06-09Add support for sparse checkouts (#1369)Johannes Schindelin
* Add support for sparse checkouts * sparse-checkout: optionally turn off cone mode While it _is_ true that cone mode is the default nowadays (mainly for performance reasons: code mode is much faster than non-cone mode), there _are_ legitimate use cases where non-cone mode is really useful. Let's add a flag to optionally disable cone mode. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> * Verify minimum Git version for sparse checkout The `git sparse-checkout` command is available only since Git version v2.25.0. The `actions/checkout` Action actually supports older Git versions than that; As of time of writing, the minimum version is v2.18.0. Instead of raising this minimum version even for users who do not require a sparse checkout, only check for this minimum version specifically when a sparse checkout was asked for. Suggested-by: Tingluo Huang <tingluohuang@github.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> * Support sparse checkout/LFS better Instead of fetching all the LFS objects present in the current revision in a sparse checkout, whether they are needed inside the sparse cone or not, let's instead only pull the ones that are actually needed. To do that, let's avoid running that preemptive `git lfs fetch` call in case of a sparse checkout. An alternative that was considered during the development of this patch (and ultimately rejected) was to use `git lfs pull --include <path>...`, but it turned out to be too inflexible because it requires exact paths, not the patterns that are available via the sparse checkout definition, and that risks running into command-line length limitations. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> --------- Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Co-authored-by: Daniel <daniel.fernandez@feverup.com>
2023-03-23Update update-main-version.ymlTingluo Huang
2023-03-09Upgrade codeql actions to v2 (#1209)Bassem Dghaidi
2022-11-10Replace datadog/squid with ubuntu/squid Docker image (#1002)Cory Miller
* test with ubuntu/squid * Start a contributing guide * remove link
2022-10-04Add workflow to update a main version (#942)Francesco Renzi
* Add workflow to update a main version * New line
2022-04-20Add set-safe-directory input to allow customers to take control. (#770)Tingluo Huang
* Add set-safe-directory input to allow customers to take control.
2022-03-01update test workflows to checkout v3 (#709)Thomas Boop
2022-02-28Update to node 16 (#689)Thomas Boop
* Update to node 16 * update setup-node version * Update check-dist.yml update setup node version * update dist/index.js
2021-10-20codeql should analyze lib not dist (#620)eric sciple
2021-10-19script to generate license info (#614)eric sciple
2021-10-18Create codeql-analysis.yml (#602)Jeremy Epling
2021-08-17Create check-dist.yml (#566)Brian Cristante
* Add check-dist.yml * Don't need to mv to git diff * Upload the whole dist/ directory as an artifact * Update .github/workflows/check-dist.yml
2020-09-10Add `Licensed` To Help Verify Prod Licenses (#326)Thomas Boop
* Add Licensed file and workflow * manual updates of dependencies * Delete licenses.txt * Ignore Generated Files in Git PR's
2020-07-14update default branch (#305)eric sciple
2020-03-10convert SSH URL to HTTPS (#179)eric sciple
2020-03-05add support for submodules (#173)eric sciple
2020-03-02more unit tests and corresponding refactoring (#174)eric sciple
2020-01-27Update test.ymleric sciple
2020-01-27follow proxy settings (#144)eric sciple
2020-01-03consume v2 action during build (#131)eric sciple
2019-12-13update examples to reference v2 tag (#110)v2.0.0eric sciple
2019-12-12fix ref (#109)eric sciple
2019-12-12add input persist-credentials (#107)eric sciple
2019-12-12fallback to REST API to download repo (#104)eric sciple