From f30eb0ebbda30d7933b27b148487798a59dc6fb8 Mon Sep 17 00:00:00 2001 From: Radoslaw Wicik Date: Wed, 9 Dec 2020 10:05:02 +0100 Subject: [PATCH] [EGD-4816] Add security tokens to GitHub main.yaml Github workers needs security tokens for downloading submodules. Tokens need to be explicitly used in configuration. --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 86aacf9850621481b8c74f79a72e0937f679ea45..952f0aef267335acdbacd7295f0720a184eea36e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,6 +15,7 @@ jobs: - name: clone repository uses: actions/checkout@v2 with: + token: ${{ secrets.GitHub_PAT }} fetch-depth: 0 submodules: recursive - name: Copyright notice check @@ -31,6 +32,7 @@ jobs: - name: clone repository uses: actions/checkout@v2 with: + token: ${{ secrets.GitHub_PAT }} submodules: recursive - name: Build for RT1051 run: | @@ -51,6 +53,7 @@ jobs: - name: clone repository uses: actions/checkout@v2 with: + token: ${{ secrets.GitHub_PAT }} submodules: recursive - name: build linux binary run: |