[riot-notifications] [RIOT-OS/RIOT] Github Actions: static-test: use base reference as base branch instead of master (#15662)

Martine Lenders notifications at github.com
Tue Jan 5 15:07:38 CET 2021


@miri64 commented on this pull request.



>          git config apply.whitespace nowarn
     - name: Fetch riot/riotbuild Docker image
       run: docker pull riot/riotbuild:latest
     - name: Run static-tests
-      run: |
-        docker run --rm                     \
-          -e CI_BASE_BRANCH=master_upstream \
-          -e GITHUB_RUN_ID=${GITHUB_RUN_ID} \
-          -v $(pwd):/data/riotbuild         \
-          riot/riotbuild:latest             \
+      run: |      
+        docker run --rm                             \
+          -e CI_BASE_BRANCH=${{ github.base_ref }}  \

Yepp. That is the case. See `github.base_ref` [here](https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#github-context).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15662#discussion_r551952633
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210105/c210576c/attachment.htm>


More information about the notifications mailing list