Skip to content

Commit

Permalink
Comment out workflows not ready to use
Browse files Browse the repository at this point in the history
  • Loading branch information
0Tech committed Jan 15, 2024
1 parent b9293a8 commit 9a35fb4
Show file tree
Hide file tree
Showing 9 changed files with 690 additions and 690 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/consensuswarn.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: "Warn about consensus code changes"
# name: "Warn about consensus code changes"

on:
pull_request_target:
types:
- opened
- edited
- synchronize
# on:
# pull_request_target:
# types:
# - opened
# - edited
# - synchronize

jobs:
main:
permissions:
pull-requests: write # For reading the PR and posting comment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: orijtech/consensuswarn@main
with:
roots: "github.com/cosmos/cosmos-sdk/baseapp.BaseApp.PrepareProposal,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.ProcessProposal,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.FinalizeBlock,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.Commit,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.VerifyVoteExtension"
# jobs:
# main:
# permissions:
# pull-requests: write # For reading the PR and posting comment
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: orijtech/consensuswarn@main
# with:
# roots: "github.com/cosmos/cosmos-sdk/baseapp.BaseApp.PrepareProposal,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.ProcessProposal,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.FinalizeBlock,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.Commit,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.VerifyVoteExtension"
32 changes: 16 additions & 16 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: Add Sprint issues to Cosmos SDK Project
# name: Add Sprint issues to Finschia SDK Project

on:
issues:
types:
- opened
- labeled
# on:
# issues:
# types:
# - opened
# - labeled

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/cosmos/projects/26
github-token: ${{ secrets.PERSONAL_TOKEN }}
labeled: T:Sprint,needs-triage
# jobs:
# add-to-project:
# name: Add issue to project
# runs-on: ubuntu-latest
# steps:
# - uses: actions/add-to-project@v0.5.0
# with:
# project-url: https://github.com/orgs/Finschia/projects/26
# github-token: ${{ secrets.PERSONAL_TOKEN }}
# labeled: T:Sprint,needs-triage
48 changes: 24 additions & 24 deletions .github/workflows/pr-reviews.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
# Request review on PRs without changing our codeowners file (which is stricter than review team)
name: Request review on PRs
# # Request review on PRs without changing our codeowners file (which is stricter than review team)
# name: Request review on PRs

on:
pull_request_target:
types:
- opened
- reopened
- ready_for_review
branches:
- "main"
- "release/**"
# on:
# pull_request_target:
# types:
# - opened
# - reopened
# - ready_for_review
# branches:
# - "main"
# - "release/**"

jobs:
request:
permissions:
pull-requests: write
name: Request reviews on opened PRs
runs-on: ubuntu-latest
steps:
- name: Create PR review request
if: ${{ !github.event.pull_request.draft }}
run: gh pr edit $PR_URL --add-reviewer @cosmos/sdk-core-review
env:
GH_TOKEN: ${{ secrets.PRBOT_PAT }}
PR_URL: ${{ github.event.pull_request.html_url }}
# jobs:
# request:
# permissions:
# pull-requests: write
# name: Request reviews on opened PRs
# runs-on: ubuntu-latest
# steps:
# - name: Create PR review request
# if: ${{ !github.event.pull_request.draft }}
# run: gh pr edit $PR_URL --add-reviewer @Finschia/sdk-core-review
# env:
# GH_TOKEN: ${{ secrets.PRBOT_PAT }}
# PR_URL: ${{ github.event.pull_request.html_url }}
38 changes: 19 additions & 19 deletions .github/workflows/proto-registry.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: Buf-Push
# Protobuf runs buf (https://buf.build/) push updated proto files to https://buf.build/cosmos/cosmos-sdk
# This workflow is only run when a .proto file has been changed
on:
push:
branches:
- main
paths:
- "proto/**"
# name: Buf-Push
# # Protobuf runs buf (https://buf.build/) push updated proto files to https://buf.build/Finschia/finschia-sdk
# # This workflow is only run when a .proto file has been changed
# on:
# push:
# branches:
# - main
# paths:
# - "proto/**"

jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.21.0
- uses: bufbuild/buf-push-action@v1
with:
input: "proto"
buf_token: ${{ secrets.BUF_TOKEN }}
# jobs:
# push:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: bufbuild/buf-setup-action@v1.21.0
# - uses: bufbuild/buf-push-action@v1
# with:
# input: "proto"
# buf_token: ${{ secrets.BUF_TOKEN }}
Loading

0 comments on commit 9a35fb4

Please sign in to comment.