Skip to content

Commit 6174091

Browse files
committed
[tmp] test new GH workflow syntax
1 parent 084b73e commit 6174091

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

.github/main.workflow

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/pull_request.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
on: pull_request
2+
name: PR Formatting
3+
jobs:
4+
verify-emoji:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@master
8+
- name: verify-emoji
9+
uses: ./hack/release
10+
env:
11+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

hack/release/Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
FROM k8s.gcr.io/debian-base:v1.0.0
22

3-
LABEL com.github.actions.name="KubeBuilder PR Emoji"
4-
LABEL com.github.actions.name="Verify that KubeBuilder release notes emoji are present on the PR"
5-
LABEL com.github.actions.icon="git-pull-request"
6-
LABEL com.github.actions.color="blue"
7-
83
RUN apt-get update -y && apt-get install -y bash jq curl
94

105
COPY common.sh /common.sh

hack/release/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: 'Verify Emoji'
2+
description: 'Verify KubeBuilder PR Emoji Prefix'
3+
author: 'The KubeBuilder Maintainers'
4+
runs:
5+
using: 'docker'
6+
image: 'Dockerfile'

0 commit comments

Comments
 (0)