Python Ecosystem #460
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Ecosystem | |
on: | |
schedule: | |
- cron: 0 23 * * * | |
jobs: | |
prepare: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "pip-compile" | |
run: | | |
pip install pip-tools | |
pip-compile --pre requirements.in | |
- name: Post to a Slack channel | |
if: failure() | |
id: slack | |
uses: slackapi/slack-github-action@v1 | |
with: | |
channel-id: C0598GTCLGH | |
slack-message: ":gyrophare: Python ecosystem version check failed" | |
env: | |
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |