Merge pull request #92 from dopplershift/update-release-action

Update release workflow
This commit is contained in:
tiffanycmeyer13 2025-02-13 13:47:56 -06:00 committed by GitHub
commit 8cafa569ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 21 additions and 4 deletions

18
.github/dependabot.yml vendored Normal file
View file

@ -0,0 +1,18 @@
version: 2
updates:
# Update GitHub Actions versions in workflows
- package-ecosystem: "github-actions"
# Workflow files stored in the
# default location of `.github/workflows`
directory: "/"
schedule:
interval: "weekly"
allow:
- dependency-type: all
open-pull-requests-limit: 10
pull-request-branch-name:
separator: "-"
commit-message:
prefix: "CI: "
include: "scope"

View file

@ -38,6 +38,8 @@ jobs:
environment: environment:
name: PyPI name: PyPI
url: https://pypi.org/project/python-awips/ url: https://pypi.org/project/python-awips/
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Download packages - name: Download packages
@ -47,7 +49,4 @@ jobs:
name: artifact name: artifact
- name: Publish Package - name: Publish Package
uses: pypa/gh-action-pypi-publish@v1.4.2 uses: pypa/gh-action-pypi-publish@v1.12.4
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}