Skip to content

Commit

Permalink
bad practice to use process.env imho
Browse files Browse the repository at this point in the history
  • Loading branch information
reggi committed Mar 25, 2024
1 parent 919b302 commit bf05b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create-image-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
uses: actions/github-script@v6
with:
script: |
const headBranch = process.env.BRANCH_NAME;
const headBranch = '${{ steps.branchname.outputs.branchname }}';
const baseBranch = 'main'; // Ensure this matches your repo's default branch
github.rest.pulls.create({
Expand Down

0 comments on commit bf05b75

Please sign in to comment.