feat(template): add did wallet dapp template #471
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: 'Version Check' | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- edited | |
branches: | |
- main | |
jobs: | |
check-files: | |
if: "! contains(toJSON(github.event.commits.*.message), 'WIP') && !contains(toJSON(github.event.commits.*.message), 'wip')" | |
runs-on: ubuntu-latest | |
name: Check files changed | |
outputs: | |
changed-files: ${{ toJSON(steps.changed-files-docs.outputs) }} | |
bump-version: ${{ steps.changed-files-docs.outputs.only_changed == 'false' }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Get changed files in the docs folder | |
id: changed-files-docs | |
uses: tj-actions/changed-files@v31 | |
with: | |
files: | | |
website/** | |
main: | |
if: needs.check-files.outputs.bump-version == 'true' | |
needs: check-files | |
runs-on: ubuntu-latest | |
steps: | |
- name: action-version-check | |
uses: arcblock/action-version-check@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |