Skip to content

Commit

Permalink
#1347 allow auto to run on protected branch
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsimpson committed Jun 5, 2024
1 parent d4a4cef commit 6820c27
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,23 @@ jobs:
curl -L -o /tmp/auto.gz https://github.com/intuit/auto/releases/download/v11.1.6/auto-linux.gz
gzip -d /tmp/auto.gz
chmod +x /tmp/auto
- name: Temporarily allow force pushes
uses: benjefferies/branch-protection-bot@master
if: always()
with:
access_token: ${{ secrets.GH_PAT }}
branch: ${{ github.event.repository.default_branch }}

- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npx /tmp/auto shipit
- name: Disable allow force pushes
uses: benjefferies/branch-protection-bot@master
if: always()
with:
access_token: ${{ secrets.GH_PAT }}
branch: ${{ github.event.repository.default_branch }}

0 comments on commit 6820c27

Please sign in to comment.