Skip to content

Commit

Permalink
fixed auto-merge-bot (#97)
Browse files Browse the repository at this point in the history
I confused `env` which is used for environment variables for
`environment` which is the key word to fetch environment secrets when
doing #94.

This will fix that mistake.
  • Loading branch information
Bullrich authored Nov 20, 2023
1 parent 2c6b1bf commit eb5e3f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ on:
issue_comment:
types: [created]

env: master

jobs:
set-auto-merge:
runs-on: ubuntu-latest
environment: master
# Important! This forces the job to run only on comments on Pull Requests that starts with '/merge'
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/merge') }}
steps:
Expand Down

0 comments on commit eb5e3f3

Please sign in to comment.