Apply label to PR on missing dependencies automatically (#1094)

This commit is contained in:
Alejandro R Mosteo
2024-06-19 11:10:50 +02:00
committed by GitHub
parent 419866d4f3
commit a56b3a9644
5 changed files with 27 additions and 2 deletions
+8 -1
View File
@@ -18,6 +18,8 @@ jobs:
build:
name: ${{ matrix.tag }}
env:
JOB_NAME: ${{ matrix.tag }}
runs-on: ubuntu-latest
@@ -67,4 +69,9 @@ jobs:
with:
image: ghcr.io/alire-project/docker/gnat:${{matrix.tag}}
command: ${{env.CHECKS_REPO}}/scripts/gh-build-crate.sh
params: -v ${{ github.workspace }}/alire_install/bin/alr:/usr/bin/alr
params: >
-v ${{ github.workspace }}/alire_install/bin/alr:/usr/bin/alr
-v ${{ github.event_path}}:/etc/event.json
-e GITHUB_EVENT_PATH=/etc/event.json
-e GITHUB_REPOSITORY=${{ github.repository }}
-e GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
@@ -21,6 +21,8 @@ jobs:
build:
name: ${{ matrix.os }}
env:
JOB_NAME: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
@@ -61,3 +63,7 @@ jobs:
- name: Test crate
run: ${{env.CHECKS_REPO}}/scripts/gh-build-crate.sh
shell: bash
env:
GITHUB_EVENT_PATH: ${{ github.event_path }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to apply labels/comment
+6
View File
@@ -18,6 +18,8 @@ jobs:
build:
name: ${{ matrix.os }}
env:
JOB_NAME: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
@@ -67,3 +69,7 @@ jobs:
- name: Test crate
run: ${{env.CHECKS_REPO}}/scripts/gh-build-crate.sh
shell: bash
env:
GITHUB_EVENT_PATH: ${{ github.event_path }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to apply labels/comment
+6
View File
@@ -20,6 +20,8 @@ jobs:
build:
name: ${{ matrix.os }}
env:
JOB_NAME: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
@@ -65,3 +67,7 @@ jobs:
- name: Test crate
run: ${{env.CHECKS_REPO}}/scripts/gh-build-crate.sh
shell: bash
env:
GITHUB_EVENT_PATH: ${{ github.event_path }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to apply labels/comment