Skip to content

Commit

Permalink
Action
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple committed Jan 15, 2024
1 parent c8d75f2 commit 13dd04c
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/update-copyright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Copyright

on:
push:
branches:
- ci/test-copyright

schedule:
# Runs "At 08:00 on day-of-month 1 in January"
- cron: '0 8 1 1 *'

workflow_dispatch:

env:
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI

jobs:
copyright:
name: Copyright
runs-on: macos-13
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/ruby-cache
- run: bundle exec fastlane copyright
timeout-minutes: 5
env:
GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
- uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
text: "You shall not pass!"
job_name: "${{ github.workflow }}: ${{ github.job }}"
fields: message,commit,author,action,workflow,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
MATRIX_CONTEXT: ${{ toJson(matrix) }}
if: failure()

0 comments on commit 13dd04c

Please sign in to comment.