Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/update-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ jobs:
sed -i -r "s|$SEARCH_PATTERN|\1@${ACTIONS_VERSION}|g" README.md

git commit -am "Bump actions example's version to ${ACTIONS_VERSION}"
git push origin ${UPDATE_BRANCH}
git push -u origin ${UPDATE_BRANCH}

- name: Open PR
env:
PR_TITLE: Update Actions example versions to ${{ env.ACTIONS_VERSION }}
PR_BODY: PR created by a new `v*` tag push event
GH_TOKEN: ${{ secrets.TOOLS_BOT_PAK }}
run: |
gh pr create -t "${PR_TITLE}" -b "${PR_BODY}" -l tools-bot -l bumpless -B develop
gh pr create -t "${PR_TITLE}" -b "${PR_BODY}" -l tools-bot -l bumpless -B main
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
call-bump-version-workflow:
# For first-time setup, create a v0.0.0 tag as shown here:
# https://github.com/ASFHyP3/actions#reusable-bump-versionyml
uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.14.0
uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@zip.zap
with:
user: tools-bot # Optional; default shown
email: UAF-asf-apd@alaska.edu # Optional; default shown
Expand Down Expand Up @@ -68,7 +68,7 @@ on:

jobs:
call-changelog-check-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.14.0
uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@zip.zap
```

to ensure the changelog has been updated for any PR to `develop` or `main`.
Expand All @@ -86,7 +86,7 @@ on:

jobs:
call-create-jira-issue-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-create-jira-issue.yml@v0.14.0
uses: ASFHyP3/actions/.github/workflows/reusable-create-jira-issue.yml@zip.zap
secrets:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
Expand Down Expand Up @@ -139,13 +139,13 @@ on:

jobs:
call-version-info-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@v0.14.0
uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@zip.zap
with:
conda_env_name: hyp3-plugin

call-docker-ecr-workflow:
needs: call-version-info-workflow
uses: ASFHyP3/actions/.github/workflows/reusable-docker-ecr.yml@v0.14.0
uses: ASFHyP3/actions/.github/workflows/reusable-docker-ecr.yml@zip.zap
with:
version_tag: ${{ needs.call-version-info-workflow.outputs.version_tag }}
ecr_registry: 845172464411.dkr.ecr.us-west-2.amazonaws.com
Expand Down Expand Up @@ -180,13 +180,13 @@ on:

jobs:
call-version-info-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@v0.14.0
uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@zip.zap
with:
conda_env_name: hyp3-plugin

call-docker-ghcr-workflow:
needs: call-version-info-workflow
uses: ASFHyP3/actions/.github/workflows/reusable-docker-ghcr.yml@v0.14.0
uses: ASFHyP3/actions/.github/workflows/reusable-docker-ghcr.yml@zip.zap
with:
version_tag: ${{ needs.call-version-info-workflow.outputs.version_tag }}
user: ${{ github.actor }}
Expand All @@ -208,7 +208,7 @@ on: push

jobs:
call-ruff-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-ruff.yml@v0.14.0
uses: ASFHyP3/actions/.github/workflows/reusable-ruff.yml@zip.zap
```

Make sure that `pyproject.toml` contains the appropriate Python version specifier
Expand Down Expand Up @@ -261,7 +261,7 @@ on: push

jobs:
call-mypy-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-mypy.yml@v0.14.0
uses: ASFHyP3/actions/.github/workflows/reusable-mypy.yml@zip.zap
```

To use our recommended configuration options, add the following to `pyproject.toml`:
Expand Down Expand Up @@ -320,7 +320,7 @@ on:

jobs:
call-git-object-name-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-git-object-name.yml@v0.14.0
uses: ASFHyP3/actions/.github/workflows/reusable-git-object-name.yml@zip.zap

echo-git-object-name-outputs:
needs: call-git-object-name-workflow
Expand Down Expand Up @@ -350,7 +350,7 @@ on:

jobs:
call-labeled-pr-check-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.14.0
uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@zip.zap
```
to ensure a release label is included on any PR to `main`.

Expand All @@ -374,7 +374,7 @@ on:

jobs:
call-pytest-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-pytest.yml@v0.14.0
uses: ASFHyP3/actions/.github/workflows/reusable-pytest.yml@zip.zap
with:
local_package_name: hyp3_plugin # Required; package to produce a coverage report for
fail_fast: false # Optional; default shown
Expand Down Expand Up @@ -403,7 +403,7 @@ on:

jobs:
call-release-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.14.0
uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@zip.zap
with:
release_prefix: HyP3-CI
release_branch: main # Optional; default shown
Expand Down Expand Up @@ -432,7 +432,7 @@ on:

jobs:
call-release-checklist-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-release-checklist-comment.yml@v0.14.0
uses: ASFHyP3/actions/.github/workflows/reusable-release-checklist-comment.yml@zip.zap
permissions:
pull-requests: write
with:
Expand Down Expand Up @@ -462,7 +462,7 @@ on: push

jobs:
call-secrets-analysis-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-secrets-analysis.yml@v0.14.0
uses: ASFHyP3/actions/.github/workflows/reusable-secrets-analysis.yml@zip.zap
```
to scan every push for secrets.

Expand All @@ -488,7 +488,7 @@ on:

jobs:
call-version-info-workflow:
uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@v0.14.0
uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@zip.zap
with:
python_version: '3.12' # Optional; default shown

Expand Down