-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #142 from bcgsc/bugfix/SDEV-4041_gsc_report_fail_P…
…OG1650 Bugfix/sdev 4041 gsc report fail pog1650
- Loading branch information
Showing
5 changed files
with
101 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# This will trigger when master branch gets updated, it will make a PR to develop | ||
name: Auto-pr-master-develop | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the develop branch | ||
pull_request: | ||
branches: [master] | ||
types: [closed] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
merge-master-to-dev: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# If master pull request is merged | ||
if: github.event.pull_request.merged == true | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: develop | ||
|
||
- name: Set Git config | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "Github Actions" | ||
- name: Reset master branch | ||
run: | | ||
git fetch origin master:master | ||
git reset --hard master | ||
- name: Read and set version | ||
id: versioning | ||
run: | | ||
PACKAGE_VERSION=$(node -p "require('./package.json').version") | ||
echo ::set-output name=tag::${PACKAGE_VERSION} | ||
- name: Create Pull Request | ||
uses: peter-evans/[email protected] | ||
with: | ||
branch: merge-master-to-dev-${{ steps.versioning.outputs.tag }} | ||
title: update develop from master-${{ steps.versioning.outputs.tag }} | ||
commit-message: auto PR master to develop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ known_standard_library = requests | |
|
||
[metadata] | ||
name = ipr | ||
version = 3.12.1 | ||
version = 3.12.2 | ||
author_email = [email protected] | ||
author = ipr | ||
maintainer_email = [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters