v0.33.2 57f21d6

release-paths.yml RawHistoryFolder

1name: Release Paths
2
3permissions:
4  contents: read
5
6on:
7  push:
8    branches: [main, next]
9    paths:
10      - 'docs/**'
11      - '*.md'
12      - 'install.sh'
13      - 'scripts/**'
14      - 'flatpak/**'
15      - 'aur/**'
16      - '.goreleaser.yaml'
17      - '.github/workflows/aur.yml'
18      - '.github/workflows/release-paths.yml'
19  pull_request:
20    branches: [main, next]
21    paths:
22      - 'docs/**'
23      - '*.md'
24      - 'install.sh'
25      - 'scripts/**'
26      - 'flatpak/**'
27      - 'aur/**'
28      - '.goreleaser.yaml'
29      - '.github/workflows/aur.yml'
30      - '.github/workflows/release-paths.yml'
31
32jobs:
33  validate:
34    runs-on: ubuntu-latest
35    concurrency:
36      group: release-paths-${{ github.event.pull_request.number || github.ref }}
37      cancel-in-progress: true
38    steps:
39      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
40        with:
41          persist-credentials: false
42      - name: Validate shell entrypoints
43        run: |
44          shopt -s nullglob globstar
45          files=(install.sh scripts/**/*.sh aur/*/PKGBUILD)
46          for f in "${files[@]}"; do
47            bash -n "$f"
48          done
49      - name: Validate release YAML
50        run: |
51          ruby -e 'require "psych"; Psych.safe_load_file(".goreleaser.yaml", permitted_classes: [], aliases: true); puts "validated .goreleaser.yaml"'
52          ruby -e 'require "psych"; Psych.safe_load_file(".github/workflows/aur.yml", permitted_classes: [], aliases: true); puts "validated .github/workflows/aur.yml"'
53          ruby -e 'require "psych"; Psych.safe_load_file(".github/workflows/release-paths.yml", permitted_classes: [], aliases: true); puts "validated .github/workflows/release-paths.yml"'
54      - name: Validate Flatpak metadata XML
55        run: |
56          python3 - <<'PY'
57          from pathlib import Path
58          import xml.etree.ElementTree as ET
59
60          for path in Path('flatpak').glob('*.xml'):
61              ET.parse(path)
62              print(f'validated {path}')
63          PY
64      - name: Check docs and packaging conflict markers
65        run: |
66          if grep -RInE '^(<<<<<<<|>>>>>>>)([[:space:]].*)?$' *.md .goreleaser.yaml docs install.sh scripts flatpak aur; then
67            echo 'Found conflict marker in docs or release-adjacent files' >&2
68            exit 1
69          fi

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close