[MISC] Change github action comment plugin (#609)
parent
006c9e20db
commit
6245dd68e9
|
@ -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 }}
|
|
@ -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.
|
|
@ -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
|
Loading…
Reference in New Issue