-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (27 loc) · 1.1 KB
/
pr-merged.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: PR Merged
permissions:
contents: read
id-token: write
packages: read
on:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
# By default, a workflow only runs when a pull_request event's activity type is opened, synchronize, or reopened.
# We want to run on 'closed' to trigger, but we also have to check if it was merged.
# That check is: if: github.event.pull_request.merged == true
pull_request_target:
types: [ closed ]
branches:
- master
jobs:
npm-packages-pr-create-tag:
uses: ritterim/public-github-actions/.github/workflows/[email protected]
#uses: ./.github/workflows/npm-packages-pr-create-tag.yml
if: github.event.pull_request.merged == true
secrets:
gh_actions_secret_passing_passphrase: ${{ secrets.ACTIONS_SECRET_PASSING_PASSPHRASE }}
gh_app_private_key: ${{ secrets.RIMDEV_NPM_RELEASES_APP_PRIVATE_KEY }}
with:
always_increment_patch_version: true
gh_app_id: ${{ vars.RIMDEV_NPM_RELEASES_APP_APPID }}
npm_package_name: platform-icons
run_tests: false