From 908b3df28b8a2d19485bb15573ab657f6e4bfa32 Mon Sep 17 00:00:00 2001 From: "Alejandro R. Mosteo" Date: Mon, 8 Jul 2024 11:58:33 +0200 Subject: [PATCH] Diff helper via labels Suddenly labeling permissions don't work? --- .github/workflows/diff-release.yml | 10 +++++++++- index/li/libhello/libhello-1.0.1.toml | 5 ++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/diff-release.yml b/.github/workflows/diff-release.yml index b0d6a7a91..6cefc27fa 100644 --- a/.github/workflows/diff-release.yml +++ b/.github/workflows/diff-release.yml @@ -5,6 +5,10 @@ name: Diff release +permissions: + contents: read + pull-requests: write + env: CHECKS_ORG: alire-project CHECKS_REPO: alire-index-checks @@ -23,7 +27,7 @@ jobs: steps: - name: Check out alire-index - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 # Needed to be able to diff and obtain changed files. Furthermore, we @@ -54,3 +58,7 @@ jobs: - name: <> run: ${{env.CHECKS_REPO}}/scripts/diff-release.sh || true # No deal breaker if failed 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/li/libhello/libhello-1.0.1.toml b/index/li/libhello/libhello-1.0.1.toml index 97985fa90..77fce2832 100644 --- a/index/li/libhello/libhello-1.0.1.toml +++ b/index/li/libhello/libhello-1.0.1.toml @@ -15,4 +15,7 @@ url = "git+https://github.com/alire-project/libhello.git" # We use this crate as a trigger to conveniently test minor changes to # metaprocesses of the CI of the repository itself. -# Last touch: 2024-05-23 17:40 CET \ No newline at end of file +# Last touch: 2024-07-08 11:58 CET + +[[depends-on]] +unobtanium = "*" \ No newline at end of file