Skip to content

Commit

Permalink
Switch deployment to GitHub Actions (#112)
Browse files Browse the repository at this point in the history
build: switch deployment to GitHub Actions

Switch product deployment to GitHub Actions.
  • Loading branch information
parfeon authored Oct 25, 2021
1 parent e1ba68b commit c32c212
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* @kleewho @crimsonred @raipubnub
.travis/* @parfeon @kleewho @crimsonred @raipubnub
README.md @techwritermat
.github/* @parfeon @kleewho @crimsonred @raipubnub
README.md @techwritermat @kazydek

26 changes: 26 additions & 0 deletions .github/workflows/commands-handler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Commands processor

on:
issue_comment:
types: [created]

jobs:
process:
name: Process command
if: ${{ github.event.issue.pull_request && endsWith(github.repository, '-private') != true && startsWith(github.event.comment.body, '@client-engineering-bot ') }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Checkout release actions
uses: actions/checkout@v2
with:
repository: pubnub/client-engineering-deployment-tools
ref: v1
token: ${{ secrets.GH_TOKEN }}
path: .github/.release/actions
- name: Process changelog entries
uses: ./.github/.release/actions/actions/commands
with:
token: ${{ secrets.GH_TOKEN }}
listener: client-engineering-bot
9 changes: 9 additions & 0 deletions .github/workflows/release/versions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
".pubnub.yml": [
{ "pattern": "^version: (.+)$", "cleared": false },
{ "pattern": "\/releases\/tag\/(v?(\\d+\\.?){2,}([a-zA-Z-]+(\\.?\\d+)?)?)", "cleared": false }
],
"pubnub.go": [
{ "pattern": "Version = \"(.*)\"", "cleared": true }
]
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ coverage.txt
*.out

vendor/golang.org/

# GitHub Actions #
##################
.github/.release

0 comments on commit c32c212

Please sign in to comment.