Skip to content

Commit

Permalink
workflows: Move release to cockpit-project/action-release
Browse files Browse the repository at this point in the history
eloquent/github-release-action@v2 is not compatible any more with git's
strict permission check any more.
  • Loading branch information
martinpitt committed Apr 16, 2023
1 parent b1e5292 commit 540c80f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
# need this to also fetch tags
fetch-depth: 0

# https://github.blog/2022-04-12-git-security-vulnerability-announced/
- name: Pacify git's permission check
run: git config --global --add safe.directory /__w

- name: Workaround for https://github.com/actions/checkout/pull/697
run: git fetch --force origin $(git describe --tags):refs/tags/$(git describe --tags)

Expand All @@ -22,6 +26,6 @@ jobs:
run: sudo PUBLISH_TAR=1 tests/run-apt

- name: Create GitHub release
uses: eloquent/github-release-action@v2
uses: cockpit-project/action-release@88d994da62d1451c7073e26748c18413fcdf46e9
with:
prerelease: "false"
filename: "umockdev-${{ github.ref_name }}.tar.xz"

0 comments on commit 540c80f

Please sign in to comment.