Skip to content

Commit

Permalink
Add PR auto assigner workflow, bump gomplate version.
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Kladov <artem.kladov@flant.com>
  • Loading branch information
z9r5 committed Mar 13, 2024
1 parent 3f518d2 commit 845367f
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/render-workflows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ cat <<'SCRIPT_END' | docker run -i --rm \
-v ${volumesRoot}/workflow_templates:/in/workflow_templates \
-v ${volumesRoot}/workflows:/out/workflows \
--entrypoint=ash \
hairyhenderson/gomplate:v3.10.0-alpine - || dockerExit=1
hairyhenderson/gomplate:v3.11.7-alpine - || dockerExit=1
# Render each file in workflow_templates
# directory and copy to /out/workflows
Expand Down
File renamed without changes.
29 changes: 29 additions & 0 deletions .github/workflow_templates/pr-auto-asigner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright 2024 Flant JSC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: "Pull Request Auto Assigner"
on:
pull_request_target:
types:
- opened
- reopened

permissions:
pull-requests: write

jobs:
assign-author:
runs-on: ubuntu-latest
steps:
- uses: toshimaru/auto-author-assign@v2.1.0
File renamed without changes.
33 changes: 33 additions & 0 deletions .github/workflows/pr-auto-asigner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#
# THIS FILE IS GENERATED, PLEASE DO NOT EDIT.
#

# Copyright 2024 Flant JSC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: "Pull Request Auto Assigner"
on:
pull_request_target:
types:
- opened
- reopened

permissions:
pull-requests: write

jobs:
assign-author:
runs-on: ubuntu-latest
steps:
- uses: toshimaru/auto-author-assign@v2.1.0

0 comments on commit 845367f

Please sign in to comment.