Skip to content

Commit

Permalink
πŸ”„ synced file(s) with RakambdaOrg/rakambda-github-files (#132)
Browse files Browse the repository at this point in the history
* πŸ”„ synced file(s) with RakambdaOrg/rakambda-github-files

* Update gradle_ci.yml

---------

Co-authored-by: undefined <[email protected]>
Co-authored-by: Thomas <[email protected]>
  • Loading branch information
3 people authored Sep 19, 2023
1 parent 1823f08 commit dee1790
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/auto-aprove-sync-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,6 @@ on:

jobs:
auto-approve-synced-files:
name: Auto approve synced files
if: contains(github.event.pull_request.title, 'Synced file(s)') && github.actor == 'couchoud-t' && github.event.pull_request.base.ref == github.event.repository.default_branch
runs-on: ubuntu-latest
steps:
- name: Pull Request approval
uses: hmarr/[email protected]
with:
github-token: "${{ secrets.SYNC_TOKEN }}"
- name: Pull Request merge
uses: KeisukeYamashita/[email protected]
with:
token: "${{ secrets.SYNC_TOKEN }}"
strategy: squash
intervalSeconds: 60
timeoutSeconds: 3600
uses: RakambdaOrg/rakambda-github-workflows/.github/workflows/approve-sync-files.yml@main
secrets:
sync-token: ${{ secrets.SYNC_TOKEN }}
7 changes: 5 additions & 2 deletions .github/workflows/gradle_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@ on:
push:
workflow_dispatch:

permissions:
contents: write

jobs:
build:
uses: Rakambda/rakambda-github-workflows/.github/workflows/gradle-build.yml@main
uses: RakambdaOrg/rakambda-github-workflows/.github/workflows/gradle-build.yml@main
with:
java-version: ${{ vars.JAVA_VERSION }}
artifact-name: Gradle-Libs

dropbox:
uses: Rakambda/rakambda-github-workflows/.github/workflows/dropbox-publish-artifact.yml@main
uses: RakambdaOrg/rakambda-github-workflows/.github/workflows/dropbox-publish-artifact.yml@main
if: ${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
needs:
- build
Expand Down

0 comments on commit dee1790

Please sign in to comment.