Skip to content

Commit

Permalink
test PR
Browse files Browse the repository at this point in the history
  • Loading branch information
npalm committed Nov 22, 2023
1 parent fe0df53 commit 2689fe3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ jobs:
with:
find-dir: .
git-commit-message: "docs: auto update terraform docs"
git-push: ${{ github.ref != 'refs/heads/npalm/docs-fix' || github.repository_owner != 'philips-labs' }}
git-push: ${{ github.ref != 'refs/heads/main' || github.repository_owner != 'philips-labs' }}

# change docs via PR in case of locked main branch
- name: Create Pull Request (main branch only)
if: github.ref == 'refs/heads/npalm/docs-fix' && github.repository_owner == 'philips-labs'
if: github.ref == 'refs/heads/main' && github.repository_owner == 'philips-labs'
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # ratchet:peter-evans/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 2689fe3

Please sign in to comment.