From 4c4db19b779571b58a66773ab9f1d2050fa2310c Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 13 Jun 2024 14:29:46 +0200 Subject: [PATCH] Use token for ccache action (#4931) (#4934) Signed-off-by: eduponz (cherry picked from commit 91d14324250e00e36557a8c42b51f3a969dc4ab0) Co-authored-by: Eduardo Ponz Segrelles --- .github/workflows/documentation-tests.yaml | 2 ++ .github/workflows/reusable-mac-ci.yml | 2 ++ .github/workflows/reusable-sanitizers-ci.yml | 8 ++++++++ .github/workflows/reusable-ubuntu-ci.yml | 2 ++ 4 files changed, 14 insertions(+) diff --git a/.github/workflows/documentation-tests.yaml b/.github/workflows/documentation-tests.yaml index 119bd6d53e4..fade99860eb 100644 --- a/.github/workflows/documentation-tests.yaml +++ b/.github/workflows/documentation-tests.yaml @@ -54,6 +54,8 @@ jobs: - name: Setup CCache uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + with: + api_token: ${{ secrets.GITHUB_TOKEN }} - name: Install apt dependencies uses: eProsima/eProsima-CI/ubuntu/install_apt_packages@v0 diff --git a/.github/workflows/reusable-mac-ci.yml b/.github/workflows/reusable-mac-ci.yml index 8e5e6e57251..9fc226e41e6 100644 --- a/.github/workflows/reusable-mac-ci.yml +++ b/.github/workflows/reusable-mac-ci.yml @@ -85,6 +85,8 @@ jobs: - name: Setup CCache uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + with: + api_token: ${{ secrets.GITHUB_TOKEN }} - name: Set up hosts file for DNS testing run: | diff --git a/.github/workflows/reusable-sanitizers-ci.yml b/.github/workflows/reusable-sanitizers-ci.yml index e4137566564..22245fbeb75 100644 --- a/.github/workflows/reusable-sanitizers-ci.yml +++ b/.github/workflows/reusable-sanitizers-ci.yml @@ -94,6 +94,8 @@ jobs: - name: Setup CCache uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + with: + api_token: ${{ secrets.GITHUB_TOKEN }} - name: Fetch Fast DDS dependencies uses: eProsima/eProsima-CI/multiplatform/vcs_import@v0 @@ -174,6 +176,8 @@ jobs: - name: Setup CCache uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + with: + api_token: ${{ secrets.GITHUB_TOKEN }} - name: Show .meta file id: show_meta @@ -257,6 +261,8 @@ jobs: - name: Setup CCache uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + with: + api_token: ${{ secrets.GITHUB_TOKEN }} - name: Get Discovery Server branch id: get_discovery_server_branch @@ -367,6 +373,8 @@ jobs: - name: Setup CCache uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + with: + api_token: ${{ secrets.GITHUB_TOKEN }} - name: Fetch Fast DDS dependencies uses: eProsima/eProsima-CI/multiplatform/vcs_import@v0 diff --git a/.github/workflows/reusable-ubuntu-ci.yml b/.github/workflows/reusable-ubuntu-ci.yml index 4a20beb8bf0..e9c064692a9 100644 --- a/.github/workflows/reusable-ubuntu-ci.yml +++ b/.github/workflows/reusable-ubuntu-ci.yml @@ -84,6 +84,8 @@ jobs: - name: Setup CCache uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + with: + api_token: ${{ secrets.GITHUB_TOKEN }} - name: Set up hosts file for DNS testing run: |