Skip to content

fix: requirements.txt to reduce vulnerabilities #246

fix: requirements.txt to reduce vulnerabilities

fix: requirements.txt to reduce vulnerabilities #246

Workflow file for this run

name: Auto-publish
on: [ push, workflow_dispatch ]
jobs:
# Auto-publish when version is increased
publish-job:
# Only publish on `main` branch
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
permissions: # Don't forget permissions
contents: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Fail if changelog not updated
run: if [ -z $(git diff --name-only $(git describe --tags --abbrev=0) | grep CHANGELOG.md) ]; then exit 1; fi
- uses: etils-actions/pypi-auto-publish@v1
with:
pypi-token: ${{ secrets.PYPI_API_TOKEN }}
gh-token: ${{ secrets.GITHUB_TOKEN }}
parse-changelog: false
pkg-name: osdatahub