diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..9c02663 --- /dev/null +++ b/.github/dependabot.yml @@ -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" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fe5675f..4a0a777 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,6 +38,8 @@ jobs: environment: name: PyPI url: https://pypi.org/project/python-awips/ + permissions: + id-token: write # IMPORTANT: this permission is mandatory for trusted publishing runs-on: ubuntu-latest steps: - name: Download packages @@ -47,7 +49,4 @@ jobs: name: artifact - name: Publish Package - uses: pypa/gh-action-pypi-publish@v1.4.2 - with: - user: __token__ - password: ${{ secrets.PYPI_TOKEN }} + uses: pypa/gh-action-pypi-publish@v1.12.4