Skip to content

Commit

Permalink
Merge pull request #63 from pinkcommodity/chore/use-env-to-change-act…
Browse files Browse the repository at this point in the history
…ion-user

Use environment variable to set GITHUB_ACTOR
  • Loading branch information
tielur authored Jul 31, 2022
2 parents a334ca5 + c6ef9bb commit 16dd877
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
schedule:
- cron: "0 8 * * *"

env:
GITHUB_ACTOR: github-actions[bot]

jobs:
jekyll:
runs-on: ubuntu-latest
Expand All @@ -18,10 +21,6 @@ jobs:
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Use Github Action Bot
run: |
git config --local user.name 'github-actions[bot]'
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
# Standard usage
- uses: helaili/jekyll-action@v2
with:
Expand Down

0 comments on commit 16dd877

Please sign in to comment.