diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index eaa49fdbef..2598179b73 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -10,7 +10,8 @@ are the most critical to review. --> ## Author Checklist *All items are required. Please add a note to the item if the item is not applicable and -please add links to any relevant follow up issues.* +please add links to any relevant follow up issues. Your PR will not be merged unless you satisfy +all of these items.* I have... @@ -35,15 +36,3 @@ I have... * [ ] updated the relevant documentation or specification, including comments for [documenting Go code](https://blog.golang.org/godoc) * [ ] confirmed all CI checks have passed -## Reviewers Checklist - -*All items are required. Please add a note if the item is not applicable and please add -your handle next to the items reviewed if you only reviewed selected items.* - -Please see [Pull Request Reviewer section in the contributing guide](../CONTRIBUTING.md#reviewer) for more information on how to review a pull request. - -I have... - -* [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title -* [ ] confirmed all author checklist items have been addressed -* [ ] reviewed state machine logic, API design and naming, documentation is accurate, tests and test coverage diff --git a/.github/PULL_REQUEST_TEMPLATE/docs.md b/.github/PULL_REQUEST_TEMPLATE/docs.md deleted file mode 100644 index a5955a5833..0000000000 --- a/.github/PULL_REQUEST_TEMPLATE/docs.md +++ /dev/null @@ -1,38 +0,0 @@ -## Description - -Closes: #XXXX - - - - ---- - -### Author Checklist - -*All items are required. Please add a note to the item if the item is not applicable and -please add links to any relevant follow up issues.* - -I have... - -- [ ] included the correct `docs:` prefix in the PR title -- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting)) -- [ ] provided a link to the relevant issue or specification -- [ ] followed the [documentation writing guidelines](https://github.com/cosmos/cosmos-sdk/blob/main/docs/DOC_WRITING_GUIDELINES.md) -- [ ] reviewed "Files changed" and left comments if necessary -- [ ] confirmed all CI checks have passed - -### Reviewers Checklist - -*All items are required. Please add a note if the item is not applicable and please add -your handle next to the items reviewed if you only reviewed selected items.* - -I have... - -- [ ] confirmed the correct `docs:` prefix in the PR title -- [ ] confirmed all author checklist items have been addressed -- [ ] confirmed that this PR only changes documentation -- [ ] reviewed content for consistency -- [ ] reviewed content for thoroughness -- [ ] reviewed content for spelling and grammar -- [ ] tested instructions (if applicable) diff --git a/.github/PULL_REQUEST_TEMPLATE/other.md b/.github/PULL_REQUEST_TEMPLATE/other.md deleted file mode 100644 index b4f19151b3..0000000000 --- a/.github/PULL_REQUEST_TEMPLATE/other.md +++ /dev/null @@ -1,32 +0,0 @@ -## Description - -Closes: #XXXX - - - ---- - -### Author Checklist - -*All items are required. Please add a note to the item if the item is not applicable and -please add links to any relevant follow up issues.* - -I have... - -- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title -- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting)) -- [ ] provided a link to the relevant issue or specification -- [ ] reviewed "Files changed" and left comments if necessary -- [ ] confirmed all CI checks have passed - -### Reviewers Checklist - -*All items are required. Please add a note if the item is not applicable and please add -your handle next to the items reviewed if you only reviewed selected items.* - -I have... - -- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title -- [ ] confirmed all author checklist items have been addressed -- [ ] confirmed that this PR does not change production code diff --git a/.github/actions/last-workflow-status/action.yaml b/.github/actions/last-workflow-status/action.yaml deleted file mode 100644 index b057c3152a..0000000000 --- a/.github/actions/last-workflow-status/action.yaml +++ /dev/null @@ -1,36 +0,0 @@ -# from https://github.com/MercymeIlya/last-workflow-status with fixes -name: "Get status of last workflow" -description: "Get conclusion of last workflow run on current branch." -branding: - icon: "arrow-left" - color: "yellow" -inputs: - github_token: - description: Secret GitHub API token to use for making API requests. - default: ${{ github.token }} - required: true -outputs: - last_status: - description: "Conclusion of last workflow run on current branch" - value: ${{ steps.last_status.outputs.last_status }} -runs: - using: "composite" - steps: - - name: Get workflow id - shell: bash - run: | - WORKFLOW_ID=$(curl --header 'authorization: Bearer ${{ inputs.github_token }}' \ - --header 'content-type: application/json' \ - https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }} | jq -r .workflow_id) - echo "WORKFLOW_ID=$WORKFLOW_ID" >> $GITHUB_ENV - echo "Workflow id: ${WORKFLOW_ID}" - - name: Get previous build status - shell: bash - id: last_status - run: | - last_status=$(curl --silent --header 'authorization: Bearer ${{ inputs.github_token }}' \ - --header 'content-type: application/json' \ - "https://api.github.com/repos/${{ github.repository }}/actions/workflows/${{ env.WORKFLOW_ID }}/runs?per_page=1&status=completed&branch=${{ env.GITHUB_HEAD_REF }}" \ - | jq -r .workflow_runs[0].conclusion) - echo "Status of the previous build: $last_status" - echo "::set-output name=last_status::${last_status}" diff --git a/.github/codeql/config.yml b/.github/codeql/config.yml index 795efa6cfb..c9a3a65246 100644 --- a/.github/codeql/config.yml +++ b/.github/codeql/config.yml @@ -8,4 +8,4 @@ paths-ignore: - api - '**/*_test.go' - '**/*.pulsar.go' - - '**/*.pb.gp' + - '**/*.pb.go' diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index 4874a3d593..0000000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: "Close stale issues & pull requests" -on: - schedule: - - cron: "0 0 * * *" - -permissions: - contents: read - -jobs: - stale: - permissions: - issues: write # for actions/stale to close stale issues - pull-requests: write # for actions/stale to close stale PRs - runs-on: depot-ubuntu-22.04-4 - steps: - - uses: actions/stale@v9 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-pr-message: "This pull request has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions." - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 30 - days-before-pr-close: 4 - exempt-pr-labels: "pinned, security, proposal, blocked"