Skip to content

Commit

Permalink
Make release workflow work with IP allowlisting (#23)
Browse files Browse the repository at this point in the history
Switches to the custom runner group that has fixed outbound IPs,
and re-enables the step that automatically creates the git tag and
GitHub release entry.

GUS-W-12984081.
  • Loading branch information
edmorley authored Apr 6, 2023
1 parent a26819a commit f939393
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# there are currently no use-cases that need it for Python.
release:
name: Release heroku/python
runs-on: ubuntu-latest
runs-on: pub-hk-ubuntu-22.04-large
steps:
# Setup
- name: Checkout
Expand Down Expand Up @@ -68,14 +68,13 @@ jobs:
id: ${{ env.buildpack_id }}
version: ${{ env.buildpack_version }}
address: ${{ env.BUILDPACK_DOCKER_REPO }}@${{ env.buildpack_digest }}
# Skipped for now since the step fails due to IP allowlisting.
# - name: Create GitHub release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: v${{ env.buildpack_version }}
# release_name: v${{ env.buildpack_version }}
# body: |
# See the [CHANGELOG](./CHANGELOG.md) for details.
# draft: false
- name: Create GitHub release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ env.buildpack_version }}
release_name: v${{ env.buildpack_version }}
body: |
See the [CHANGELOG](./CHANGELOG.md) for details.
draft: false

0 comments on commit f939393

Please sign in to comment.