Skip to content

Commit

Permalink
github actions debian git security precaution fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DaAwesomeP committed Jun 22, 2023
1 parent c4c97a2 commit 46cb35e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- name: Generate build name
shell: bash
run: |
chown root:root . # workaround Git security precaution, see https://github.com/actions/runner-images/issues/6775
export OLA_BUILD_NAME=$(./scripts/build_name.sh)
export OLA_DEBIAN_BUILD_VERSION=$(head -n 1 debian/changelog | sed -E "s/ola \((.+)-([0-9]+)\).*/\1~git$OLA_BUILD_NAME-\2/")
echo "OLA_BUILD_NAME=$OLA_BUILD_NAME" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 46cb35e

Please sign in to comment.