Bumps [technote-space/get-diff-action](https://github.com/technote-space/get-diff-action) from 5 to 6.0.1. - [Release notes](https://github.com/technote-space/get-diff-action/releases) - [Changelog](https://github.com/technote-space/get-diff-action/blob/main/.releasegarc) - [Commits](https://github.com/technote-space/get-diff-action/compare/v5...v6.0.1) --- updated-dependencies: - dependency-name: technote-space/get-diff-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marko <marbar3778@yahoo.com>
59 lines
1.6 KiB
YAML
59 lines
1.6 KiB
YAML
name: Atlas
|
|
# Atlas checks if a modules atlas manifest has been touched, if so it publishes the updated version
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- "x/**/atlas/*"
|
|
pull_request:
|
|
paths:
|
|
- "x/**/atlas/*"
|
|
|
|
jobs:
|
|
auth:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: technote-space/get-diff-action@v6.0.1
|
|
id: git_diff
|
|
with:
|
|
PATTERNS: |
|
|
x/auth/atlas/**
|
|
- uses: marbar3778/atlas_action@main
|
|
with:
|
|
token: ${{ secrets.ATLAS_TOKEN }}
|
|
path: ./x/auth/atlas/atlas.toml
|
|
dry-run: ${{ github.event_name != 'pull_request' }}
|
|
if: env.GIT_DIFF
|
|
bank:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: technote-space/get-diff-action@v6.0.1
|
|
id: git_diff
|
|
with:
|
|
PATTERNS: |
|
|
x/bank/atlas/**
|
|
- uses: marbar3778/atlas_action@main
|
|
with:
|
|
token: ${{ secrets.ATLAS_TOKEN }}
|
|
path: ./x/bank/atlas/atlas.toml
|
|
dry-run: ${{ github.event_name != 'pull_request' }}
|
|
if: env.GIT_DIFF
|
|
evidence:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: technote-space/get-diff-action@v6.0.1
|
|
id: git_diff
|
|
with:
|
|
PATTERNS: |
|
|
x/evidence/atlas/**
|
|
- uses: marbar3778/atlas_action@main
|
|
with:
|
|
token: ${{ secrets.ATLAS_TOKEN }}
|
|
path: ./x/evidence/atlas/manifest.toml
|
|
dry-run: ${{ github.event_name != 'pull_request' }}
|
|
if: env.GIT_DIFF
|