From 140ca7cb49cc059cd0327588bdab7b5940c7aa97 Mon Sep 17 00:00:00 2001 From: Vanessa Sochat Date: Wed, 1 May 2019 13:29:36 -0400 Subject: [PATCH] testing adding action Signed-off-by: Vanessa Sochat --- .github/badge.md | 10 ++++++++++ .github/main.workflow | 12 ++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .github/badge.md create mode 100644 .github/main.workflow diff --git a/.github/badge.md b/.github/badge.md new file mode 100644 index 0000000..5656254 --- /dev/null +++ b/.github/badge.md @@ -0,0 +1,10 @@ +Thanks for contributing to the Greater Good Pledge! If you'd like to +put a badge in your repository, you can use this link: + +[![https://good-labs.github.io/greater-good-pledge/assets/images/badge.svg](https://good-labs.github.io/greater-good-pledge/assets/images/badge.svg)](https://good-labs.github.io/greater-good-pledge) + +When released versions are available, you will optionally be able to specify the +version. If you have questions, or want to generally engage with the Good Labs +Community, we are on Gitter: + +[![Gitter](https://badges.gitter.im/good-labs/community.svg)](https://gitter.im/good-labs/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 0000000..e9271a2 --- /dev/null +++ b/.github/main.workflow @@ -0,0 +1,12 @@ +workflow "Post Merge Message" { + on = "pull_request" + resolves = ["post message"] +} + +action "post message" { + uses = "vsoch/post-merge-message@master" + secrets = ["GITHUB_TOKEN"] + env = { + POST_MESSAGE = ".github/badge.md" + } +}