SnapUSNs #9
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: SnapUSNs | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 5 * * *' | |
jobs: | |
CheckUSNs: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install Python dependencies | |
uses: insightsengineering/[email protected] | |
with: | |
requirements: .github/workflows/scripts/requirements.txt | |
- name: Install Snap dependencies | |
run: | | |
sudo snap install review-tools --edge | |
- name: Set up Launchpad credentials | |
uses: DamianReeves/[email protected] | |
with: | |
path: lp_credentials | |
contents: ${{ secrets.LAUNCHPAD_CREDENTIALS }} | |
- name: Check for USNs | |
run: .github/workflows/scripts/check_usns.py lp_credentials |