Skip to content

Commit 8cafa56

Browse files
Merge pull request #92 from dopplershift/update-release-action
Update release workflow
2 parents 873852a + 5f875d3 commit 8cafa56

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

.github/dependabot.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 2
2+
3+
updates:
4+
# Update GitHub Actions versions in workflows
5+
- package-ecosystem: "github-actions"
6+
# Workflow files stored in the
7+
# default location of `.github/workflows`
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"
11+
allow:
12+
- dependency-type: all
13+
open-pull-requests-limit: 10
14+
pull-request-branch-name:
15+
separator: "-"
16+
commit-message:
17+
prefix: "CI: "
18+
include: "scope"

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
environment:
3939
name: PyPI
4040
url: https://pypi.org/project/python-awips/
41+
permissions:
42+
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
4143
runs-on: ubuntu-latest
4244
steps:
4345
- name: Download packages
@@ -47,7 +49,4 @@ jobs:
4749
name: artifact
4850

4951
- name: Publish Package
50-
uses: pypa/gh-action-pypi-publish@v1.4.2
51-
with:
52-
user: __token__
53-
password: ${{ secrets.PYPI_TOKEN }}
52+
uses: pypa/gh-action-pypi-publish@v1.12.4

0 commit comments

Comments
 (0)