File: cog.yml

package info (click to toggle)
python-inline-snapshot 0.31.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,708 kB
  • sloc: python: 9,261; makefile: 39; sh: 32
file content (36 lines) | stat: -rw-r--r-- 834 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Weekly Cog Update

on:
  schedule:
  - cron: 0 8 * * 5      # Every Friday at 08:00 UTC
  workflow_dispatch:

jobs:
  update-cog:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout repository
      uses: actions/checkout@v4
      with:
        fetch-depth: 0

    - name: Set up Python
      uses: actions/setup-python@v5
      with:
        python-version: '3.11'

    - name: Install Hatch
      run: pip install hatch

    - name: Run cog update
      run: hatch run cog:update

    - name: Create Pull Request
      uses: peter-evans/create-pull-request@v6
      with:
        commit-message: 'chore: weekly cog update'
        title: 'chore: weekly cog update'
        body: Automated cog update via scheduled workflow.
        branch: chore/weekly-cog-update
        delete-branch: true
        reviewers: 15r10nk