This repository has been archived by the owner on Feb 26, 2025. It is now read-only.
[Snyk] Security upgrade zipp from 3.15.0 to 3.19.1 #89
Workflow file for this run
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
name: Release awesomeness | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
build-and-run: | |
name: Build and Run | |
runs-on: ubuntu-latest | |
if: contains( github.event.pull_request.labels.*.name, 'release') | |
steps: | |
- uses: actions/checkout@v1 | |
- name: 'Get Previous tag' | |
id: previoustag | |
uses: "WyriHaximus/github-action-get-previous-tag@master" | |
env: | |
GITHUB_TOKEN: "${{ secrets.MC_GITHUB_TOKEN }}" | |
- name: fix remote | |
run: git remote set-url origin https://github.com/uc-cdis/acronym-bot.git | |
- name: switch to develop branch | |
run: git checkout develop | |
- name: Bump release version | |
id: bump_version | |
uses: christian-draeger/[email protected] | |
with: | |
current-version: ${{ steps.previoustag.outputs.tag }} | |
version-fragment: 'bug' | |
- name: Install Gen3 release-helper | |
run: | | |
pip install wheel | |
pip install --user --editable git+https://github.com/uc-cdis/release-helper.git@master#egg=gen3git | |
python -m gen3git --github-access-token ${{ secrets.MC_GITHUB_TOKEN }} tag ${{ steps.bump_version.outputs.next-version }} | |
python -m gen3git --github-access-token ${{ secrets.MC_GITHUB_TOKEN }} --from-tag ${{ steps.previoustag.outputs.tag }} release | |
python -m gen3git --github-access-token ${{ secrets.MC_GITHUB_TOKEN }} --from-tag ${{ steps.previoustag.outputs.tag }} gen --markdown | |
cat release_notes.md | |
- name: Create release | |
uses: ncipollo/release-action@v1 | |
with: | |
tag: ${{ steps.bump_version.outputs.next-version }} | |
artifacts: "release.tar.gz,foo/*.txt" | |
bodyFile: "release_notes.md" | |
token: ${{ secrets.MC_GITHUB_TOKEN }} |