Skip to content

Commit

Permalink
change to the repo directory right away
Browse files Browse the repository at this point in the history
  • Loading branch information
radhermit committed Nov 29, 2024
1 parent 6f85f3b commit 5a5aa6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgcruft-action
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

cd "${REPO}"

# disable github action bash shell default `set -e`
set +e

Expand Down Expand Up @@ -48,7 +50,6 @@ set +e
mkdir -p "${CACHE}"

# determine target commit
cd "${REPO}"
NEW_COMMIT=$(git rev-parse HEAD)
NEW_COMMIT_NAME=$(git rev-parse --short HEAD)

Expand Down

0 comments on commit 5a5aa6a

Please sign in to comment.