This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { IncomingWebhook } from '@slack/webhook'; | |
import github from '@actions/github'; | |
import messages from './messages.js'; | |
import { NIGHTLY_SLACK } from './slackConfig.js'; | |
import Version from '../version/index.js'; | |
/** | |
* This function serves as a reminder mechanism for nightly builds. | |
* It checks the state of the GitHub workflow and sends a reminder message to a Slack channel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This script serves as a mechanism to ensure that no files exceeding a size of 50MB are committed to the repository. | |
* It checks the size of each file that has been modified or created in the current git commit, and alerts the developer if any oversized files are found. | |
* | |
* Requirement: | |
* 1. **File Size Check**: Before committing files, it's crucial to ensure that file sizes are within reasonable limits to prevent bloating the repository. | |
* | |
* Note: | |
* - This script can be executed either locally or as part of a CI/CD pipeline. | |
* - When executed locally, it can be run with the `danger local` option or integrated with git hooks using tools such as Husky to perform checks when a developer executes a git commit. |