Skip to content

Commit

Permalink
Apply label to PR on missing dependencies automatically (#1094)
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo authored Jun 19, 2024
1 parent 419866d commit a56b3a9
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/build-distros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:

build:
name: ${{ matrix.tag }}
env:
JOB_NAME: ${{ matrix.tag }}

runs-on: ubuntu-latest

Expand Down Expand Up @@ -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 }}
6 changes: 6 additions & 0 deletions .github/workflows/build-native-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:

build:
name: ${{ matrix.os }}
env:
JOB_NAME: ${{ matrix.os }}

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -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 changes: 6 additions & 0 deletions .github/workflows/build-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:

build:
name: ${{ matrix.os }}
env:
JOB_NAME: ${{ matrix.os }}

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -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 changes: 6 additions & 0 deletions .github/workflows/build-ports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:

build:
name: ${{ matrix.os }}
env:
JOB_NAME: ${{ matrix.os }}

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion index/sa/saatana/saatana-2.0.2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ project-files = ["saatana.gpr"]
tags = ["cryptography", "spark"]

[[depends-on]]
gnat = "^2020"
gnat = "^2020" # This is probably too restrictive

[origin]
url = "https://github.com/HeisenbugLtd/Saatana/archive/v2.0.2.tar.gz"
Expand Down

0 comments on commit a56b3a9

Please sign in to comment.