IP reclaim: differentiate stateless workload under deleting-timeout state on ready node and not-ready node #5629
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto License Lint | |
on: | |
pull_request: | |
paths: | |
- '**.go' | |
- '**.sh' | |
push: | |
branches: | |
- main | |
paths: | |
- '**.go' | |
- '**.sh' | |
workflow_dispatch: | |
inputs: | |
ref: | |
description: 'sha, ref, branch' | |
required: true | |
default: main | |
permissions: read-all | |
# for each pr, queue all workflows | |
# concurrency: | |
# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.after }} | |
# cancel-in-progress: true | |
jobs: | |
go-mod: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checking Ref | |
id: version | |
shell: bash | |
run: | | |
if ${{ github.event_name == 'workflow_dispatch' }}; then | |
tag_name=${{ github.event.inputs.ref }} | |
echo "ref=${tag_name}" >> $GITHUB_ENV | |
elif ${{ github.event_name == 'push' }} ; then | |
echo "ref=${{ github.sha }}" >> $GITHUB_ENV | |
else | |
echo "ref=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV | |
fi | |
- name: Checkout Source Code | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
ref: ${{ env.ref }} | |
- name: Check License Header | |
id: checklicense | |
uses: apache/[email protected] |