Skip to content

Commit

Permalink
Update rulicka-bot.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
petrkucerak authored May 1, 2024
1 parent ab31436 commit 50e2630
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/rulicka-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🔐 Generate a token
id: generate_token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.RULICKA_ID }}
private_key: ${{ secrets.RULICKA_PRIVATE_KEY }}

- name: Create a json file
run: |
Expand All @@ -29,9 +36,9 @@ jobs:
cat ${{ github.event.inputs.filename }}.json
- name: Create a pull request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.PAT }}
token: ${{steps.generate_token.outputs.token}}
commit-message: Add ${{ github.event.inputs.filename }}.json toilet
committer: Rulicka [Bot] <[email protected]>
author: Rulica <[email protected]>
Expand Down

0 comments on commit 50e2630

Please sign in to comment.