Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions .github/workflows/pull-ocis-icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: "Pull icons from ocis/web"
on:
workflow_dispatch:
pull_request:
branches: ["release/*"]
branches:
- "release/*"
- "chore/*"
permissions:
contents: write

Expand All @@ -11,9 +13,16 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 (previously v4)
- name: Generate GitHub App token
id: app-token
uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6
with:
ssh-key: ${{ secrets.DEPLOYMENT_SSH_KEY }}
app-id: ${{ secrets.TRANSLATION_APP_ID }}
private-key: ${{ secrets.TRANSLATION_APP_PRIVATE_KEY }}

- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
token: ${{ steps.app-token.outputs.token }}

- name: Build MakeTVG
run: |
Expand All @@ -38,8 +47,13 @@ jobs:
--icon-map img/tvg-icons/icon-map.json \
--output img/tvg-icons

- uses: GuillaumeFalourd/git-commit-push@205c043bca2f932f7a48a28a8d619ba30eb84baf # v1.3
- uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9
with:
email: devops@owncloud.com
name: ownClouders
commit_message: "[icons] updated icons from ocis and ocis web"

# - uses: GuillaumeFalourd/git-commit-push@205c043bca2f932f7a48a28a8d619ba30eb84baf # v1.3
# with:
# access_token: ${{ steps.app-token.outputs.token }}
# email: devops@owncloud.com
# name: ownClouders
# commit_message: "[icons] updated icons from ocis and ocis web"
Loading