Skip to content

Commit

Permalink
ci: disable persisted git credentials for improved security
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Sep 2, 2023
1 parent cd2116d commit 237425c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ jobs:
MT_KWARGS_HACK: 1
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
- run: npm -g install yalc
- run: yalc publish
Expand Down

0 comments on commit 237425c

Please sign in to comment.