From 992e68affe2e2b34c53522929f2e87f21853bf5a Mon Sep 17 00:00:00 2001 From: kixelated Date: Fri, 13 Oct 2023 11:02:43 +0900 Subject: [PATCH] Rename workflows. (#90) --- .github/workflows/{release.yml => main.yml} | 4 +++- .github/workflows/{check.yml => pr.yml} | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) rename .github/workflows/{release.yml => main.yml} (98%) rename .github/workflows/{check.yml => pr.yml} (95%) diff --git a/.github/workflows/release.yml b/.github/workflows/main.yml similarity index 98% rename from .github/workflows/release.yml rename to .github/workflows/main.yml index e5864da..ed9574d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/main.yml @@ -1,3 +1,5 @@ +name: main + on: push: branches: ["main"] @@ -8,7 +10,7 @@ env: SERVICE: api # Restart the API service TODO and relays jobs: - build: + deploy: runs-on: ubuntu-latest permissions: contents: read diff --git a/.github/workflows/check.yml b/.github/workflows/pr.yml similarity index 95% rename from .github/workflows/check.yml rename to .github/workflows/pr.yml index 3996567..9ae79ed 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/pr.yml @@ -1,3 +1,5 @@ +name: pr + on: pull_request: branches: ["main"] @@ -6,7 +8,7 @@ env: CARGO_TERM_COLOR: always jobs: - check: + build: runs-on: ubuntu-latest steps: