Skip to content

Commit

Permalink
Merge pull request #58 from ASFHyP3/develop
Browse files Browse the repository at this point in the history
Release 0.7.1
  • Loading branch information
jtherrmann authored Mar 10, 2023
2 parents f290f6f + e190b05 commit 2eabaf5
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ updates:
schedule:
# Check for updates to GitHub Actions every weekday
interval: "daily"
labels:
- "bumpless"
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ on:
- develop
jobs:
call-changelog-check-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.6.0
uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.7.0
secrets:
USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/labeled-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ on:

jobs:
call-labeled-pr-check-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.6.0
uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.7.0
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
call-release-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.6.0
uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.7.0
with:
release_prefix: Actions
secrets:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-docker-ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- uses: aws-actions/configure-aws-credentials@v1
- uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -54,7 +54,7 @@ jobs:
echo "REPO=${GITHUB_REPOSITORY,,}" >> ${GITHUB_ENV}
- name: Build, tag, and push image to Amazon ECR
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
push: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/reusable-docker-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ jobs:
echo "REPO=${GITHUB_REPOSITORY,,}" >> ${GITHUB_ENV}
- name: Build, tag, and push image to GitHub Container Registry
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
push: true
push: ${{ ! github.event.pull_request.head.repo.fork }}
tags: |
ghcr.io/${{ env.REPO }}:${{ inputs.version_tag }}
labels: |
Expand All @@ -59,14 +59,14 @@ jobs:
org.opencontainers.image.revision=${{ github.sha }}
- name: Add test tag
if: github.ref == format('refs/heads/{0}', inputs.develop_branch)
if: ${{ github.ref == format('refs/heads/{0}', inputs.develop_branch) && ! github.event.pull_request.head.repo.fork }}
uses: akhilerm/[email protected]
with:
src: ghcr.io/${{ env.REPO }}:${{ inputs.version_tag }}
dst: ghcr.io/${{ env.REPO }}:test

- name: Add latest tag
if: github.ref == format('refs/heads/{0}', inputs.release_branch)
if: ${{ github.ref == format('refs/heads/{0}', inputs.release_branch) && ! github.event.pull_request.head.repo.fork }}
uses: akhilerm/[email protected]
with:
src: ghcr.io/${{ env.REPO }}:${{ inputs.version_tag }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-labeled-pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Require Version Bump Labels
uses: mheap/github-action-required-labels@v2
uses: mheap/github-action-required-labels@v3
with:
mode: exactly
count: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: mamba-org/provision-with-micromamba@v14
- uses: mamba-org/provision-with-micromamba@v15
with:
extra-specs: |
python=${{ matrix.python_version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-release-checklist-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3

- name: Comment PR
uses: thollander/actions-comment-pull-request@v1
uses: thollander/actions-comment-pull-request@v2
with:
message: |
### Developer checklist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-version-info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
fetch-depth: 0

- uses: mamba-org/provision-with-micromamba@v14
- uses: mamba-org/provision-with-micromamba@v15
with:
extra-specs: |
python=${{ inputs.python_version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ on: push

jobs:
call-secrets-analysis-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-secrets-analysis.yml@v0.6.0
uses: ASFHyP3/actions/.github/workflows/reusable-secrets-analysis.yml@v0.7.0
2 changes: 1 addition & 1 deletion .github/workflows/tag-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ on:

jobs:
call-bump-version-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.6.0
uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.7.0
secrets:
USER_TOKEN: ${{ secrets.TOOLS_BOT_PAK }}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/)
and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.7.1]

### Fixed
* [`reusable-docker-ghcr.yml`](.github/workflows/reusable-docker-ghcr.yml) no longer attempts
to push a Docker image if run from a fork.

## [0.7.0]

Expand Down

0 comments on commit 2eabaf5

Please sign in to comment.