Skip to content

Commit f010726

Browse files
committed
Add Pipeline Library branch update action
Signed-off-by: Brian J. Murrell <brian.murrell@intel.com>
1 parent ebe64e9 commit f010726

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Set Pipeline Library Branch
2+
# This workflow is triggered on pushes to the master branch of the repository.
3+
on:
4+
push:
5+
6+
jobs:
7+
update_pipeline_lib_branch:
8+
name: Update Pipeline Library Branch
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
with:
13+
ref: ${{ github.head_ref }}
14+
- uses: daos-stack/update-pipeline-lib-action@v1
15+
- uses: stefanzweifel/git-auto-commit-action@v4
16+
with:
17+
commit_message: Update Pipeline library branch
18+
commit_options: '--signoff'
19+
id: update_pipeline_lib_branch
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// Then a second PR submitted to comment out the @Library line, and when it
1717
// is landed, both PR branches can be deleted.
1818

19-
// @Library(value="pipeline-lib@my_pr_branch") _
19+
// @Library(value="trusted-pipeline-lib@my_pr_branch") _
2020

2121
pipeline {
2222
agent { label 'lightweight' }

0 commit comments

Comments
 (0)