Skip to content

Automate checks for upstream changes #1

Description

@stevegrunwell

It would be great if we were periodically (once a week, or so) checking the upstream script file to see if anything's changed.

This would be a great opportunity to explore GitHub Actions, and I have the basic logic started:

name: Check for out-of-date shell scripts

on:
  # Run this every Monday at 00:00:00.
  schedule:
  - cron: "0 0 0 0 1"

jobs:
  check-dependencies:
    steps:
      - name: Refresh bin/install-wp-tests.sh
        run: composer refresh-install-wp-tests
      - name: Verify if anything has changed
        run: git diff --exit-code

The last thing needed is to notify repo maintainers if changes were found so we can update + tag a new release accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions