Skip to content

Commit

Permalink
fixup! Notify about stale credits with PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
opatry committed Oct 3, 2024
1 parent 6e6793c commit b7ec8b0
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,14 @@ jobs:
github.event_name == 'pull_request' &&
${{ steps.check-desktop-app-credits.outputs.has_stale_credits == 'true' }}
uses: actions/github-script@v7
with:
script: |
stale_credits_comment=$(./_ci/generate_github_comment_stale_credits.sh ":tasks-app-desktop")
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '${stale_credits_comment}'
})
run: |
stale_credits_comment=$(./_ci/generate_github_comment_stale_credits.sh ":tasks-app-desktop")
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '${stale_credits_comment}'
})
# - name: 🔨 Build Desktop App 🖥️
# run: ./gradlew --no-daemon :tasks-app-desktop:assemble
Expand All @@ -90,15 +89,14 @@ jobs:
github.event_name == 'pull_request' &&
${{ steps.check-android-app-credits.outputs.has_stale_credits == 'true' }}
uses: actions/github-script@v7
with:
script: |
stale_credits_comment=$(./_ci/generate_github_comment_stale_credits.sh ":tasks-app-android")
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '${stale_credits_comment}'
})
run: |
stale_credits_comment=$(./_ci/generate_github_comment_stale_credits.sh ":tasks-app-android")
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '${stale_credits_comment}'
})
# - name: 🔨 Build Android App 📱
# env:
Expand Down

0 comments on commit b7ec8b0

Please sign in to comment.