Skip to content

CodeTour Watch

Actions
Flags file changes that may affect CodeTour content
v3.0.0
Latest
Star (15)

Tags

 (1)

GitHub Marketplace

CodeTour Watch

A GitHub action that flags file changes in a PR that may affect CodeTour content.

The action comments on the PR to report changes that may impact CodeTour:

Screenshot of comment

The action will not comment the PR if changes do not impact CodeTour.

Usage

name: CodeTour watch

on:
    pull_request:
        types: [opened, edited, synchronize, reopened]

jobs:
    codetour-watch:
        runs-on: ubuntu-latest
        steps:
            - name: 'Checkout source code'
              uses: actions/checkout@v3

            - name: 'Watch CodeTour changes'
              uses: pozil/[email protected]
              with:
                  repo-token: ${{ secrets.GITHUB_TOKEN }}

Inputs

Name Required Description Default
repo-token false The GITHUB_TOKEN, required to comment. secrets.GITHUB_TOKEN
silent false Optional flag that turns off the comment on the PR. false
tour-path false Optional parameter that specifies a custom .tours folder location. .tours
fail-on-missing-tour-updates false Optional flag that forces the action to fail when update tour files are missing from a PR. false

Outputs

Name Description
impactedFiles The list of files covered by tours that were changed.
impactedTours The list of tours that were impacted by the PR.
missingTourUpdates The list of tours that were impacted by the changes but that are not part of the PR.

CodeTour Watch is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Flags file changes that may affect CodeTour content
v3.0.0
Latest

Tags

 (1)

CodeTour Watch is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.