mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
[MISC] Change github action comment plugin (#609)
This commit is contained in:
parent
006c9e20db
commit
6245dd68e9
29
.github/workflows/comment.yml
vendored
Normal file
29
.github/workflows/comment.yml
vendored
Normal 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 }}
|
11
.github/workflows/prcomments.md
vendored
11
.github/workflows/prcomments.md
vendored
|
@ -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.
|
13
.github/workflows/prcomments.yml
vendored
13
.github/workflows/prcomments.yml
vendored
|
@ -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
Block a user