Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/update_pipeline_lib_branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Set Pipeline Library Branch
# This workflow is triggered on pushes to the master branch of the repository.
on:
push:

jobs:
update_pipeline_lib_branch:
name: Update Pipeline Library Branch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- uses: daos-stack/update-pipeline-lib-action@v1
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update Pipeline library branch
commit_options: '--signoff'
id: update_pipeline_lib_branch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// Then a second PR submitted to comment out the @Library line, and when it
// is landed, both PR branches can be deleted.

// @Library(value="pipeline-lib@my_pr_branch") _
@Library(value="trusted-pipeline-lib@bmurrell/pipeline-lib-branch-action") _

pipeline {
agent { label 'lightweight' }
Expand Down