Skip to content

Commit

Permalink
Disable bash history in workflows with keys
Browse files Browse the repository at this point in the history
  • Loading branch information
danrosen25 committed Aug 24, 2023
1 parent bfd3797 commit 2b7a3ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-esmf-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
echo "ERROR: Missing ESMF_WEB_DEPLOY_KEY!"
exit 1
fi
set +o history
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add - <<< "${{secrets.ESMF_WEB_DEPLOY_KEY}}"
git config --global user.name "github-actions[bot]"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-esmpy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
echo "ERROR: Missing ESMPY_WEB_DEPLOY_KEY!"
exit 1
fi
set +o history
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add - <<< "${{secrets.ESMPY_WEB_DEPLOY_KEY}}"
git config --global user.name "github-actions[bot]"
Expand Down

0 comments on commit 2b7a3ad

Please sign in to comment.