Skip to content

Milestone Sync action

Actions
Scaffold and update GitHub milestones based on a YAML definition
v1.0
Latest
Star (1)

Milestone Sync Action

This action Scaffold and update GitHub milestones based on a YAML definition.

NOTE: This action relies on having the file available in the working directory. This means that if the manifest file lives in a GitHub repository, the repository will need to be checked out before this action is run.

Inputs

milestones-file

Optional The path of the milestones file. Defaults to manifest.yaml.

GH_TOKEN

Required The GitHub Token to read & write milestones

Ensure the following permissions are set

    permissions:
      contents: read
      issues: write

Example usage

steps:
  - uses: actions/checkout@v4

  - uses: pbronneberg/milestone-sync-action@v1
  - with:
      milestones-file: ".github/milestones.yml"
      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Example milestones YAML

- title: "My first milestone"
  description: |
    A multi-line description on what is delivered.
    It should of course not create illegal YAML characters
  dueDate: 2024-08-01
- title: "Next major milestone"
  description: The next thing to deliver
  dueDate: 2024-09-01

Milestone Sync action 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

Scaffold and update GitHub milestones based on a YAML definition
v1.0
Latest

Milestone Sync action 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.