[MISC] Change github action comment plugin (#609)

pull/612/head
Amir Zarrinkafsh 2020-02-02 04:12:58 +11:00 committed by GitHub
parent 006c9e20db
commit 6245dd68e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 24 deletions

29
.github/workflows/comment.yml vendored 100644
View File

@ -0,0 +1,29 @@
name: Docker Image CD
on: pull_request
jobs:
example_comment_pr:
runs-on: ubuntu-latest
name: Commentary
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Comment PR
uses: authelia/actions-comment-pull-request@master
with:
message: '# Containers
These changes are published as containers for testing at one of the following locations:
#### Local Branch
* `docker pull authelia/authelia:${{ github.head_ref }}`
#### Pull Request
* `docker pull authelia/authelia:PR${{ github.event.pull_request.number }}`
Pull Requests require approval from an Authelia team member to deploy.'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,11 +0,0 @@
# Containers
These changes can be tested with Docker at the following location:
#### Local Branch
* docker pull authelia/authelia:{branch_name}
#### Public Repo PR
* docker pull authelia/authelia:PR{pull_id}
Public Repo PR's will need to be approved by team member prior to it being deployed in the pipeline.

View File

@ -1,13 +0,0 @@
name: Add container pull commands
on: pull_request
jobs:
comment:
name: Add container pull commands
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: harupy/comment-on-pr@v0.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: prcomments.md