Remove obsolete upstream release workflows
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,41 +0,0 @@
|
||||
# A workflow to cut a Galaxy OSS release candidate on the OSS release branch.
|
||||
|
||||
name: Cut New Release Candidate
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
verify_release_branch:
|
||||
name: Verify OSS release branch
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Verify branch
|
||||
run: |
|
||||
case "$GITHUB_REF_NAME" in
|
||||
oss_release/*) ;;
|
||||
*)
|
||||
echo "::error::Can only create OSS release candidates on an oss_release/* branch"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
shell: bash
|
||||
|
||||
create_release_candidate:
|
||||
name: Create OSS Release Candidate
|
||||
uses: ./.github/workflows/create_release.yml
|
||||
needs: verify_release_branch
|
||||
secrets: inherit
|
||||
|
||||
update_channel_versions:
|
||||
name: Update channel_versions.json
|
||||
needs:
|
||||
- create_release_candidate
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Invoke update workflow in channel-versions repository
|
||||
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
|
||||
with:
|
||||
repository: warpdotdev/channel-versions
|
||||
token: ${{ secrets.CHANNEL_VERSIONS_REPOSITORY_DISPATCH_TOKEN }}
|
||||
event-type: update-channel-versions
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
# A workflow to cut the Galaxy OSS release.
|
||||
|
||||
name: Cut New Releases
|
||||
on:
|
||||
schedule:
|
||||
# Run this job every morning at 3am EST.
|
||||
- cron: "0 8 * * *"
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
verify_master:
|
||||
name: Verify master branch
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check for master branch
|
||||
run: |
|
||||
[ "$GITHUB_REF" = "refs/heads/master" ] || (echo "::error::Can only cut new releases on the master branch" && exit 1)
|
||||
shell: bash
|
||||
|
||||
create_release:
|
||||
name: Create OSS Release
|
||||
uses: ./.github/workflows/create_release.yml
|
||||
needs: verify_master
|
||||
secrets: inherit
|
||||
|
||||
update_channel_versions:
|
||||
name: Update channel_versions.json
|
||||
needs:
|
||||
- create_release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Invoke update workflow in channel-versions repository
|
||||
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
|
||||
with:
|
||||
repository: warpdotdev/channel-versions
|
||||
token: ${{ secrets.CHANNEL_VERSIONS_REPOSITORY_DISPATCH_TOKEN }}
|
||||
event-type: update-channel-versions
|
||||
Reference in New Issue
Block a user