Skip to content

Commit

Permalink
feat(repo-creation.yml): add condition to run workflow only on master…
Browse files Browse the repository at this point in the history
… branch

chore(repo-creation.yml): add extra line for readability
  • Loading branch information
ToasterUwU committed Sep 26, 2023
1 parent 0a1afa8 commit e399150
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/repo-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

jobs:
build:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -19,6 +20,7 @@ jobs:
sed -i "s/%APP_ID%/$(uuidgen)/g" bot_setup.iss
sed -i "s/%REPO_OWNER%/${{ github.event.repository.owner.login }}/g" bot_setup.iss
rm -f .github/workflows/repo-creation.yml
- name: Commit
uses: EndBug/add-and-commit@v9
with:
Expand Down

0 comments on commit e399150

Please sign in to comment.