mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-30 10:42:37 +02:00

The `checkout`, `setup-python`, `upload-artifact` and `download-artifact` actions produce warnings about deprecated Node.js 16. Update the actions to use Node.js 20.
19 lines
477 B
YAML
19 lines
477 B
YAML
name: Check branch conformity
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
prevent-fixup-commits:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
target: debian-bookworm
|
|
distro: debian
|
|
version: bookworm
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: prevent fixup commits
|
|
run: |
|
|
git fetch origin
|
|
git status
|
|
git log --pretty=format:%s origin/main..HEAD | grep -ie '^fixup\|^wip' && exit 1 || true
|