Sha256: 927ed1cd53a7e89f470ae20bd7be3e0b0f7c8d7a47ea4cfcf3ce65da86d6e3b3
Contents?: true
Size: 1.88 KB
Versions: 37
Compression:
Stored size: 1.88 KB
Contents
# Auto-generated by Cimas: Do not edit it manually! # See https://github.com/metanorma/cimas name: notify on: repository_dispatch: types: [ notify ] jobs: notify: name: Notify dependent repos runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Trigger repositories env: GH_USERNAME: metanorma-ci GH_ACCESS_TOKEN: ${{ secrets.METANORMA_CI_PAT_TOKEN }} run: | curl -LO --retry 3 https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/trigger-gh-actions.sh [[ -f ".github/workflows/dependent_repos.env" ]] && source .github/workflows/dependent_repos.env CLIENT_PAYLOAD=$(cat <<EOF "{ "ref": "${{ github.event.client_payload.ref }}", "repo": "${GITHUB_REPOSITORY}" }" EOF ) for repo in $TEMPLATE_REPOS" $SAMPLES_REPOS" do sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY "$CLIENT_PAYLOAD" done - name: Trigger release repositories if: github.event.client_payload.ref == 'refs/heads/master' || startsWith(github.event.client_payload.ref, 'refs/tags/v') env: GH_USERNAME: metanorma-ci GH_ACCESS_TOKEN: ${{ secrets.METANORMA_CI_PAT_TOKEN }} run: | curl -LO --retry 3 https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/trigger-gh-actions.sh [[ -f ".github/workflows/dependent_repos.env" ]] && source .github/workflows/dependent_repos.env CLIENT_PAYLOAD=$(cat <<EOF "{ "ref": "${{ github.event.client_payload.ref }}", "repo": "${GITHUB_REPOSITORY}" }" EOF ) for repo in $DEPENDENT_REPOS do sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY "$CLIENT_PAYLOAD" done
Version data entries
37 entries across 37 versions & 1 rubygems