From 6603b5dbcc46d9b830a86ac1a5ecbd36450ef36e Mon Sep 17 00:00:00 2001 From: "Alejandro R. Mosteo" Date: Tue, 18 Jun 2024 14:21:56 +0200 Subject: [PATCH] Test applying label/comment to PR from workflow --- .github/workflows/build-distros.yml | 7 ++++++- .github/workflows/build-native-master.yml | 6 ++++++ .github/workflows/build-native.yml | 6 ++++++ .github/workflows/build-ports.yml | 6 ++++++ index/sa/saatana/saatana-2.0.2.toml | 2 +- 5 files changed, 25 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-distros.yml b/.github/workflows/build-distros.yml index 3f20342c1..48275c53f 100644 --- a/.github/workflows/build-distros.yml +++ b/.github/workflows/build-distros.yml @@ -18,6 +18,8 @@ jobs: build: name: ${{ matrix.tag }} + env: + JOB_NAME: ${{ matrix.tag }} runs-on: ubuntu-latest @@ -67,4 +69,7 @@ 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 + -e GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} + -e GITHUB_EVENT_PATH=${{ github.event_path }} diff --git a/.github/workflows/build-native-master.yml b/.github/workflows/build-native-master.yml index 4ccf85332..296825111 100644 --- a/.github/workflows/build-native-master.yml +++ b/.github/workflows/build-native-master.yml @@ -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 diff --git a/.github/workflows/build-native.yml b/.github/workflows/build-native.yml index ee6bc625d..e3d9fd9ae 100644 --- a/.github/workflows/build-native.yml +++ b/.github/workflows/build-native.yml @@ -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 diff --git a/.github/workflows/build-ports.yml b/.github/workflows/build-ports.yml index 969758e0e..bfcf70ea1 100644 --- a/.github/workflows/build-ports.yml +++ b/.github/workflows/build-ports.yml @@ -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 diff --git a/index/sa/saatana/saatana-2.0.2.toml b/index/sa/saatana/saatana-2.0.2.toml index 44e2b0c03..558798422 100644 --- a/index/sa/saatana/saatana-2.0.2.toml +++ b/index/sa/saatana/saatana-2.0.2.toml @@ -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"