-
Notifications
You must be signed in to change notification settings - Fork 8
51 lines (46 loc) · 1.89 KB
/
Copy pathevergreen-check.yml
File metadata and controls
51 lines (46 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: evergreen-check
on:
# Scheduled trigger
schedule:
# Run weekly on Saturdays
- cron: "30 1 * * 6"
# Manual trigger
workflow_dispatch:
permissions:
pull-requests: none
issues: none
jobs:
evergreen-check:
runs-on: ubuntu-latest
permissions:
# Required to create pull requests
pull-requests: write
# Required to create issues
issues: write
steps:
# - name: 📅 calculate date
# shell: bash
# run: |
# # Get the current date
# CURRENT_DATE=$(date +'%Y-%m-%d')
# # Calculate the previous month
# PREVIOUS_DATE=$(date -d "$CURRENT_DATE -7 day" +'%Y-%m-%d')
# echo "$PREVIOUS_DATE..$CURRENT_DATE"
# # Create env variable for next step
# echo "ONE_WEEK_AGO=$PREVIOUS_DATE" >> "$GITHUB_ENV"
- name: 🌲 evergreen check
uses: github/evergreen@b148df31787c128202fdfe28e2a0a7c5a7c35745 # v1.20.4
env:
GH_TOKEN: ${{ secrets.BLOOMBERG_OSS_USER_TOKEN_READ }}
ORGANIZATION: bloomberg
EXEMPT_REPOS: "bloomberg/.github, bloomberg/.allstar"
TYPE: pull
TITLE: ".github: Add Dependabot configuration"
BODY: |
👋 This pull request was generated using GitHub's [Evergreen Action](https://github.com/github/evergreen) to enable [Dependabot](https://github.com/dependabot).
Dependabot helps open source maintainers automatically manage dependencies and security updates.
📖 Check out the official documentation for configuring Dependabot [here](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file)!
COMMIT_MESSAGE: ".github: Add Dependabot configuration"
# CREATED_AFTER_DATE: ${{ env.ONE_WEEK_AGO }}
GROUP_DEPENDENCIES: true
ENABLE_SECURITY_UPDATES: false