Skip to content

Commit ed5abc9

Browse files
committed
add auto modlinks
1 parent 4cc24ae commit ed5abc9

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/automodlinks.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
push:
3+
tags:
4+
- '*'
5+
6+
name: on-new-release-raise-modlinks-mr
7+
8+
jobs:
9+
send-pull-requests:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
14+
with:
15+
fetch-depth: 0
16+
ref: ${{github.event.pull_request.head.ref}}
17+
repository: ${{github.event.pull_request.head.repo.full_name}}
18+
token: ${{secrets.GITHUB_TOKEN}}
19+
- name: Update into modlinks and send pull-request
20+
uses: PrashantMohta/update-modlinks@v1
21+
with:
22+
access-token: ${{secrets.ACCESS_TOKEN}}
23+
project-name: ${{vars.PROJECT_NAME}}
24+
user-name: ${{vars.USER_NAME }}
25+
user-email: ${{vars.USER_EMAIL }}
26+
asset-name: ${{vars.ASSET_NAME}}

0 commit comments

Comments
 (0)