-
-
Notifications
You must be signed in to change notification settings - Fork 3
29 lines (26 loc) · 932 Bytes
/
release-misc.yml
File metadata and controls
29 lines (26 loc) · 932 Bytes
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
# @format
name: Release Management
on:
pull_request:
types:
- closed
jobs:
misc:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
strategy:
matrix:
node-version: [16.x]
steps:
# Inclusive Org
- run: if [ ${{env.inclusive_org}} === 'owner' ]; then echo "inclusiveorg=${{github.repository_owner}}" >> $GITHUB_ENV ; else echo "inclusiveorg=${{env.inclusive_org}}" >> $GITHUB_ENV ; fi
- name: Invite contributor to the organization
uses: lekterable/inclusive-organization-action@v1.1.0
if: ${{env.inclusive_enabled}} == true
with:
organization: ${{env.inclusiveorg}}
team: ${{env.inclusive_team}}
comment: ${{env.inclusive_comment}}
env:
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
continue-on-error: true