From 0bae3caaffcded030194f8b33bd9b8500e9ae28a Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Thu, 16 Feb 2023 14:55:24 +0100 Subject: [PATCH] dear CI masters: i regret every trying to be clever --- .github/workflows/ci.yml | 1 - .github/workflows/dependabot.yml | 5 +---- .github/workflows/jsonrpc-client-npm-package.yml | 11 +++++------ .github/workflows/jsonrpc.yml | 9 ++++----- .github/workflows/node-delete-preview.yml | 5 ++--- .github/workflows/node-docs.yml | 7 +++---- .github/workflows/node-package.yml | 11 +++++------ .github/workflows/node-tests.yml | 13 ++++++------- .github/workflows/upload-docs.yml | 9 ++++----- .github/workflows/upload-ffi-docs.yml | 9 ++++----- 10 files changed, 34 insertions(+), 46 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b552b4b7..4000e7296 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,6 @@ name: Rust CI on: - workflow_dispatch: pull_request: push: branches: diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index c0026d45e..174f6096e 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -1,8 +1,5 @@ name: Dependabot auto-approve - -on: - workflow_dispatch: - pull_request: +on: pull_request permissions: pull-requests: write diff --git a/.github/workflows/jsonrpc-client-npm-package.yml b/.github/workflows/jsonrpc-client-npm-package.yml index 66e742390..8d7d39600 100644 --- a/.github/workflows/jsonrpc-client-npm-package.yml +++ b/.github/workflows/jsonrpc-client-npm-package.yml @@ -1,12 +1,11 @@ name: 'jsonrpc js client build' on: - workflow_dispatch: -# pull_request: -# push: -# tags: -# - '*' -# - '!py-*' + pull_request: + push: + tags: + - '*' + - '!py-*' jobs: diff --git a/.github/workflows/jsonrpc.yml b/.github/workflows/jsonrpc.yml index 1aad0a22c..de05f50d6 100644 --- a/.github/workflows/jsonrpc.yml +++ b/.github/workflows/jsonrpc.yml @@ -1,11 +1,10 @@ name: JSON-RPC API Test on: - workflow_dispatch: -# push: -# branches: [master] -# pull_request: -# branches: [master] + push: + branches: [master] + pull_request: + branches: [master] env: CARGO_TERM_COLOR: always diff --git a/.github/workflows/node-delete-preview.yml b/.github/workflows/node-delete-preview.yml index 89023410f..ba698c846 100644 --- a/.github/workflows/node-delete-preview.yml +++ b/.github/workflows/node-delete-preview.yml @@ -2,9 +2,8 @@ name: Delete node PR previews on: - workflow_dispatch: -# pull_request: -# types: [closed] + pull_request: + types: [closed] jobs: delete: diff --git a/.github/workflows/node-docs.yml b/.github/workflows/node-docs.yml index f1b6b261b..a7c07e0d9 100644 --- a/.github/workflows/node-docs.yml +++ b/.github/workflows/node-docs.yml @@ -1,10 +1,9 @@ name: Generate & upload node.js documentation on: - workflow_dispatch: -# push: -# branches: -# - master + push: + branches: + - master jobs: generate: diff --git a/.github/workflows/node-package.yml b/.github/workflows/node-package.yml index f084c6981..5b90ee974 100644 --- a/.github/workflows/node-package.yml +++ b/.github/workflows/node-package.yml @@ -1,12 +1,11 @@ name: 'node.js build' on: - workflow_dispatch: -# pull_request: -# push: -# tags: -# - '*' -# - '!py-*' + pull_request: + push: + tags: + - '*' + - '!py-*' jobs: diff --git a/.github/workflows/node-tests.yml b/.github/workflows/node-tests.yml index b1c704891..705d91152 100644 --- a/.github/workflows/node-tests.yml +++ b/.github/workflows/node-tests.yml @@ -1,13 +1,12 @@ name: 'node.js tests' on: - workflow_dispatch: -# pull_request: -# push: -# branches: -# - master -# - staging -# - trying + pull_request: + push: + branches: + - master + - staging + - trying jobs: tests: diff --git a/.github/workflows/upload-docs.yml b/.github/workflows/upload-docs.yml index 68a4fd3fa..c624cb081 100644 --- a/.github/workflows/upload-docs.yml +++ b/.github/workflows/upload-docs.yml @@ -1,11 +1,10 @@ name: Build & Deploy Documentation on rs.delta.chat on: - workflow_dispatch: -# push: -# branches: -# - master -# - docs-gh-action + push: + branches: + - master + - docs-gh-action jobs: build: diff --git a/.github/workflows/upload-ffi-docs.yml b/.github/workflows/upload-ffi-docs.yml index 255532c79..73fa07cb1 100644 --- a/.github/workflows/upload-ffi-docs.yml +++ b/.github/workflows/upload-ffi-docs.yml @@ -1,11 +1,10 @@ name: Build & Deploy Documentation on cffi.delta.chat on: - workflow_dispatch: -# push: -# branches: -# - master -# - docs-gh-action + push: + branches: + - master + - docs-gh-action jobs: build: