d1755d52f2
* exsytrawo 1.2.0 (#1396) * bbt 0.1.0 (#1397) * prolog 1.0.0 (#1398) * prolog 1.0.0 (via `alr publish`) * Update prolog-1.0.0.toml * Move to alr 2.1 --------- Co-authored-by: Blady-Com <blady.net@orange.fr> Co-authored-by: Lionel Draghi <lionel.draghi@free.fr> Co-authored-by: Jesper Quorning <jesper.quorning@gmail.com>
39 lines
964 B
YAML
39 lines
964 B
YAML
name: Check Author
|
|
|
|
env:
|
|
CHECKS_ORG: alire-project
|
|
CHECKS_REPO: alire-index-checks
|
|
ALR_VERSION: 2.1.0
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'index/**.toml'
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
# Needed to be able to diff and obtain changed files. Furthermore, we
|
|
# need the full history or else grafted partial branches confuse the
|
|
# changed files detectors.
|
|
|
|
- name: Check out alire-index-checks
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: ${{env.CHECKS_ORG}}/${{env.CHECKS_REPO}}
|
|
ref: ${{github.base_ref}}
|
|
path: ${{env.CHECKS_REPO}}
|
|
|
|
- name: Set up stable `alr`
|
|
uses: alire-project/setup-alire@v4
|
|
with:
|
|
version: ${{env.ALR_VERSION}}
|
|
|
|
- name: Test authorship
|
|
run: ${{env.CHECKS_REPO}}/scripts/check-author.sh "${{ github.event.pull_request.user.login }}"
|
|
shell: bash
|