File tree Expand file tree Collapse file tree 6 files changed +48
-5
lines changed Expand file tree Collapse file tree 6 files changed +48
-5
lines changed Original file line number Diff line number Diff line change 1+ name : auto-pr
2+
3+ on :
4+ create
5+
6+ jobs :
7+ create-pr :
8+ runs-on : ubuntu-latest
9+ if : ${{ github.ref_type == 'branch' }}
10+ steps :
11+ -
12+ name : Checkout Branch ${{ github.ref_name }}
13+ uses : actions/checkout@v3
14+ -
15+ name : Create Pull Request
16+ uses : bfren/pull-request@v2
17+ with :
18+ github_token : ${{ secrets.PAT }}
19+ destination_branch : main
20+ pr_title : ${{ github.ref_name }}
21+ pr_body : " Merging branch to create ${{ github.ref_name }}."
Original file line number Diff line number Diff line change 1+ name : auto-release
2+
3+ on :
4+ pull_request :
5+ types : [closed]
6+
7+ jobs :
8+ create-release :
9+ runs-on : ubuntu-latest
10+ steps :
11+ -
12+ if : github.event.pull_request.merged == true
13+ name : Get Pull Request Title
14+ run : echo "PR_TITLE=${{ github.event.pull_request.title }}" >> $GITHUB_ENV
15+ shell : bash
16+ -
17+ name : Create Release ${{ env.PR_TITLE }}
18+ uses : bfren/action-gh-release@v1
19+ with :
20+ token : ${{ secrets.PAT }}
21+ name : ${{ env.PR_TITLE }}
22+ tag_name : ${{ env.PR_TITLE }}
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ jobs:
1212 steps :
1313 -
1414 name : Checkout code
15- uses : actions/checkout@v2
15+ uses : actions/checkout@v3
1616 build :
1717 runs-on : ubuntu-latest
1818 steps :
1919 -
2020 name : Checkout code
21- uses : actions/checkout@v2
21+ uses : actions/checkout@v3
2222 -
2323 name : Get repository name
2424 run : echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 1111 steps :
1212 -
1313 name : Checkout code
14- uses : actions/checkout@v2
14+ uses : actions/checkout@v3
1515 -
1616 name : Get repository name
1717 run : echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 1- FROM bfren/nginx:nginx1.20-3.1.4
1+ FROM bfren/nginx:nginx1.20-3.1.5
22
33LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-proxy"
44
Original file line number Diff line number Diff line change 1- 3.3.4
1+ 3.3.5
You can’t perform that action at this time.
0 commit comments