diff --git a/Makefile b/Makefile deleted file mode 100644 index 28b1f0b..0000000 --- a/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -SHELL := /bin/bash - -# List of targets the `readme` target should call before generating the readme -export README_DEPS ?= docs/targets.md docs/github-action.md - --include $(shell curl -sSL -o .build-harness "https://cloudposse.tools/build-harness"; echo .build-harness) - -## Lint terraform code -lint: - $(SELF) terraform/install terraform/get-modules terraform/get-plugins terraform/lint terraform/validate diff --git a/README.yaml b/README.yaml index 5bd6fd3..deee3a7 100644 --- a/README.yaml +++ b/README.yaml @@ -1,4 +1,3 @@ ---- # # This is the canonical configuration for the `README.md` # Run `make readme` to rebuild the `README.md` @@ -21,13 +20,17 @@ github_repo: cloudposse/github-action-auto-release # Badges to display badges: - - name: "Latest Release" - image: "https://img.shields.io/github/release/cloudposse/github-action-auto-release.svg" - url: "https://github.com/cloudposse/github-action-auto-release/releases/latest" - - name: "Slack Community" - image: "https://slack.cloudposse.com/badge.svg" - url: "https://slack.cloudposse.com" + - name: Latest Release + image: https://img.shields.io/github/release/cloudposse/github-action-auto-release.svg?style=for-the-badge + url: https://github.com/cloudposse/github-action-auto-release/releases/latest + - name: Last Updated + image: https://img.shields.io/github/last-commit/cloudposse/github-action-auto-release.svg?style=for-the-badge + url: https://github.com/cloudposse/github-action-auto-release/commits + - name: Slack Community + image: https://slack.cloudposse.com/for-the-badge.svg + url: https://cloudposse.com/slack +# List any related terraform modules that this module may be used with or that this module depends on. related: - name: "GitHub Action Auto-format" description: "Add standard files to a repo and keep its README up to date" @@ -42,10 +45,7 @@ related: description: "Validate and lint contents of CODEOWNERS file" url: "https://github.com/cloudposse/github-action-validate-codeowners" -include: - - "docs/github-action.md" - -# References +include: [] references: - name: "Release Drafter" description: 'Drafts your next release notes as pull requests are merged into master' @@ -75,6 +75,4 @@ quickstart: |- 3. Customize the config file as desired, per the [config documentation](https://github.com/release-drafter/release-drafter#configuration) # Contributors to this project -contributors: - - name: "Dylan Bannon" - github: "dylanbannon" +contributors: [] diff --git a/atmos.yaml b/atmos.yaml new file mode 100644 index 0000000..dfa6aca --- /dev/null +++ b/atmos.yaml @@ -0,0 +1,2 @@ +import: + - https://raw.githubusercontent.com/cloudposse/.github/refs/heads/main/.github/atmos/github-action.yaml diff --git a/docs/github-action.md b/docs/github-action.md deleted file mode 100644 index a442232..0000000 --- a/docs/github-action.md +++ /dev/null @@ -1,30 +0,0 @@ - - -## Inputs - -| Name | Description | Default | Required | -|------|-------------|---------|----------| -| config-name | If your workflow requires multiple release-drafter configs it is helpful to override the config-name.
The config should still be located inside `.github` as that's where we are looking for config files.
| configs/draft-release.yml | false | -| latest | A string indicating whether the release being created or updated should be marked as latest.
| | false | -| prerelease | Boolean indicating whether this release should be a prerelease | | false | -| publish | Whether to publish a new release immediately | false | false | -| summary-enabled | Enable github action summary. | true | false | -| token | Standard GitHub token (e.g., secrets.GITHUB\_TOKEN) | ${{ github.token }} | false | - - -## Outputs - -| Name | Description | -|------|-------------| -| body | The body of the drafted release. | -| exists | Tag exists so skip new release issue | -| html\_url | The URL users can navigate to in order to view the release | -| id | The ID of therelease that was created or updated. | -| major\_version | The next major version number. For example, if the last tag or release was v1.2.3, the value would be v2.0.0. | -| minor\_version | The next minor version number. For example, if the last tag or release was v1.2.3, the value would be v1.3.0. | -| name | The name of the release | -| patch\_version | The next patch version number. For example, if the last tag or release was v1.2.3, the value would be v1.2.4. | -| resolved\_version | The next resolved version number, based on GitHub labels. | -| tag\_name | The name of the tag associated with the release. | -| upload\_url | The URL for uploading assets to the release, which could be used by GitHub Actions for additional uses, for example the @actions/upload-release-asset GitHub Action. | - diff --git a/docs/targets.md b/docs/targets.md deleted file mode 100644 index 3dce8b3..0000000 --- a/docs/targets.md +++ /dev/null @@ -1,12 +0,0 @@ - -## Makefile Targets -```text -Available targets: - - help Help screen - help/all Display help for all targets - help/short This help short screen - lint Lint terraform code - -``` -