diff --git a/Makefile b/Makefile deleted file mode 100644 index dc7415e..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/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 \ No newline at end of file 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 a05e323..0000000 --- a/docs/github-action.md +++ /dev/null @@ -1,27 +0,0 @@ - - -## Inputs - -| Name | Description | Default | Required | -|------|-------------|---------|----------| -| filterOutClosed | True, False, 1 or 0 if only open PRs should be returned. Defaults to false. | N/A | false | -| filterOutDraft | True, False, 1 or 0 if only non-draft PRs should be returned. Defaults to false. | N/A | false | -| github-token | The GitHub token used to create an authenticated client. | ${{ github.token }} | false | -| sha | Sha to get PR for. Defaults to current sha. | N/A | false | - - -## Outputs - -| Name | Description | -|------|-------------| -| body | The PR Body if one was found. | -| closed\_at | The PR Closed timestamp if one was found. | -| created\_at | The PR Created timestamp if one was found. | -| found | The outcome if a PR has been found. If so, the other outputs are set. | -| json | The whole PR object if one was found. | -| labels | The PR Labels if any was found. | -| merged\_at | The PR Merged timestamp if one was found. | -| number | The PR number if one was found. | -| title | The PR Title if one was found. | -| url | The PR Url if one was found. | -