Skip to content

[Test] Case: When only community analyzers are activated #1

[Test] Case: When only community analyzers are activated

[Test] Case: When only community analyzers are activated #1

Workflow file for this run

name: List github events and other contexts
on:
push:
branches: [ main, master ]
pull_request:
jobs:
debug:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: List contexts
run: |
echo "event->pr->head->sha"
echo ${{ github.event.pull_request.head.sha }}
echo "event->sha"
echo ${{ github.event.sha }}
echo "with env"
echo ${{ env.GITHUB_SHA }}
echo "expression inside"
echo ${{ github.event.sha || env.GITHUB_SHA }}
echo "expression outside"
echo ${{ github.event.sha }} || {{ env.GITHUB_SHA }}
- name: List github sha
run: |
echo $GITHUB_SHA
echo "Ref:"
echo $GITHUB_REF