From a51213746ecc33a4ff167bfea8e84825a087c757 Mon Sep 17 00:00:00 2001 From: Phil Tyler <phil.tyler@pantheon.io> Date: Tue, 26 Mar 2024 10:43:39 -0700 Subject: [PATCH] Add Autotag --- .github/workflows/release.yml | 17 +++++++++++++++++ README.md | 7 ++++++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..9000449 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,17 @@ +name: Autotag and Release +on: + push: + branches: + - main + +permissions: + contents: write + +jobs: + tag-release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pantheon-systems/action-autotag@v0 + with: + gh-token: ${{ github.token }} \ No newline at end of file diff --git a/README.md b/README.md index 438254f..fab0ce4 100644 --- a/README.md +++ b/README.md @@ -31,4 +31,9 @@ uses: pantheon-systems/phpcompatibility-action@v1 with: test-versions: 7.4- paths: ${{ github.workspace }}/src -``` \ No newline at end of file +``` + +## Development + +### Autotag +This project uses our [autotag action](https://github.com/pantheon-systems/action-autotag). New releases are created on each merge to `main`. See the [autotag readme](https://github.com/pantheon-systems/autotag?tab=readme-ov-file#usage) for details. \ No newline at end of file