perf(ci): only publish artifacts on git version tags of main #199
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: DCO | |
on: [pull_request] | |
jobs: | |
dco_check: | |
runs-on: ubuntu-22.04 | |
name: DCO | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
steps: | |
- name: Get PR Commits | |
id: 'get-pr-commits' | |
uses: tim-actions/get-pr-commits@198af03565609bb4ed924d1260247b4881f09e7d | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: DCO Check | |
uses: tim-actions/dco@f2279e6e62d5a7d9115b0cb8e837b777b1b02e21 | |
with: | |
commits: ${{ steps.get-pr-commits.outputs.commits }} |