From c7181af8af14a644eabfba76f7b8ec51f3b8a8eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20M=C3=B6ller?= Date: Mon, 16 Dec 2024 12:46:27 +0300 Subject: [PATCH 1/2] chore: fixup symlink creation (#1199) #### What this PR does / why we need it this creates proper symlinks by forcing the link if it already exists. #### Which issue(s) this PR fixes --- .github/workflows/publish-to-other-than-github.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-other-than-github.yaml b/.github/workflows/publish-to-other-than-github.yaml index deff963c10..5828cb13d1 100644 --- a/.github/workflows/publish-to-other-than-github.yaml +++ b/.github/workflows/publish-to-other-than-github.yaml @@ -55,7 +55,7 @@ jobs: --outputDirectory ${{ github.workspace }}/tap/Formula) mkdir -p ${{ github.workspace }}/tap/Aliases cd ${{ github.workspace }}/tap/Aliases - ln -s ../Formula/$(basename $formula) ./ocm + ln -sf ../Formula/$(basename $formula) ./ocm - name: Create Pull Request uses: peter-evans/create-pull-request@v7 with: From 0db60537e82bc016665653f3c14c1aa58b3ac1e9 Mon Sep 17 00:00:00 2001 From: Hilmar Falkenberg Date: Mon, 16 Dec 2024 10:58:25 +0100 Subject: [PATCH 2/2] chore(github_action): add generate_token to push-to-website (#1198) last publish release didn't work: https://github.com/open-component-model/ocm/actions/runs/12349057328/job/34459090022 --- .github/workflows/publish-to-other-than-github.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/publish-to-other-than-github.yaml b/.github/workflows/publish-to-other-than-github.yaml index 5828cb13d1..f76b148507 100644 --- a/.github/workflows/publish-to-other-than-github.yaml +++ b/.github/workflows/publish-to-other-than-github.yaml @@ -147,6 +147,12 @@ jobs: steps: - name: Ensure proper version run: echo "RELEASE_VERSION=$(echo ${{ github.event.client_payload.version }})" >> $GITHUB_ENV + - name: Generate token + id: generate_token + uses: tibdex/github-app-token@v2 + with: + app_id: ${{ secrets.OCMBOT_APP_ID }} + private_key: ${{ secrets.OCMBOT_PRIV_KEY }} - name: Publish Release Event uses: peter-evans/repository-dispatch@v3 with: