Skip to content

Commit

Permalink
feat: add preview-publish-package workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sbsrnt committed Mar 15, 2024
1 parent 0625580 commit dc1f0bb
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/preview-publish-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "@exile-watch / doryani"

on:
pull_request_target:
types:
- labeled

jobs:
preview-publish-package:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'preview-publish')
steps:
- name: Checkout source code
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}

- name: Preview publish package
uses: exile-watch/doryani/preview-publish-package@main
with:
GH_ACTOR: ${{ github.actor }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
prRef: ${{ github.event.pull_request.head.ref }}

0 comments on commit dc1f0bb

Please sign in to comment.