From 31fab05428a52ad99a5a65ddfd15762062eba021 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 1 Apr 2023 12:32:19 +0100 Subject: [PATCH] ci: woodpecker: use explicit 'name' key --- .woodpecker/docker.yml | 4 ++-- .woodpecker/exec.yml | 42 +++++++++++++++++++++--------------------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.woodpecker/docker.yml b/.woodpecker/docker.yml index 89dd9f1..5c3ac73 100644 --- a/.woodpecker/docker.yml +++ b/.woodpecker/docker.yml @@ -2,5 +2,5 @@ labels: type: docker pipeline: - test: - image: hello-world +- name: test + image: hello-world diff --git a/.woodpecker/exec.yml b/.woodpecker/exec.yml index 9e9467a..ce78286 100644 --- a/.woodpecker/exec.yml +++ b/.woodpecker/exec.yml @@ -2,25 +2,25 @@ labels: type: exec pipeline: - test: - image: bash - commands: - - nix run 'nixpkgs#hello' +- name: test + image: bash + commands: + - nix run 'nixpkgs#hello' - notify: - image: bash - secrets: - - source: matrix_homeserver - target: address - - source: matrix_roomid - target: room - - source: matrix_username - target: user - - source: matrix_password - target: pass - commands: - - nix run 'github:ambroisie/matrix-notifier' - when: - status: - - failure - - success +- name: notify + image: bash + secrets: + - source: matrix_homeserver + target: address + - source: matrix_roomid + target: room + - source: matrix_username + target: user + - source: matrix_password + target: pass + commands: + - nix run 'github:ambroisie/matrix-notifier' + when: + status: + - failure + - success