Skip to content

Commit

Permalink
ci: checkout to PR branch (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio authored Aug 26, 2024
1 parent 967975b commit 6629ccc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/publish-commit.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# Publishes main-branch's commits to pkg.pr.new
# PRs can be published by commenting `/pkg-pr-new` in the PR

name: Publish Any Commit

on:
push:
branches:
- main
issue_comment:
types: [created]

Expand Down Expand Up @@ -57,7 +53,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: refs/pull/${{ github.event.issue.number }}/head

- uses: ./.github/actions/setup-and-build

Expand Down

0 comments on commit 6629ccc

Please sign in to comment.