File tree Expand file tree Collapse file tree 4 files changed +114
-0
lines changed
Expand file tree Collapse file tree 4 files changed +114
-0
lines changed Original file line number Diff line number Diff line change 1+ - name : status/blocked
2+ description : This issue has been triaged and resolving it is blocked on some other issue
3+ color : 848978
4+ - name : bug
5+ description : Something isn't working
6+ color : d73a4a
7+ - name : enhancement
8+ description : A new feature or request
9+ color : a2eeef
10+ - name : documentation
11+ description : This issue relates to writing documentation
12+ color : D4C5F9
13+ - name : semver:major
14+ description : A change requiring a major version bump
15+ color : 6b230e
16+ - name : semver:minor
17+ description : A change requiring a minor version bump
18+ color : cc6749
19+ - name : semver:patch
20+ description : A change requiring a patch version bump
21+ color : f9d0c4
22+ - name : good first issue
23+ description : A good first issue to get started with
24+ color : d3fc03
25+ - name : " failure:release"
26+ description : An issue filed automatically when a release workflow run fails
27+ color : f00a0a
28+ - name : " failure:push"
29+ description : An issue filed automatically when a push buildpackage workflow run fails
30+ color : f00a0a
31+ - name : dependency-deprecation
32+ description : Notice of dependency deprecation
33+ color : ffff00
Original file line number Diff line number Diff line change 1+ name : Dependency Deprecation Reminder
2+
3+ on :
4+ schedule :
5+ - cron : ' 5 0 * * 0'
6+ workflow_dispatch : {}
7+
8+ jobs :
9+ reminder :
10+ name : Reminder
11+ runs-on : ubuntu-22.04
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v3
15+ with :
16+ ref : develop
17+
18+ - name : Get deprecations
19+ id : deprecations
20+ uses : cloudfoundry/buildpacks-github-config/actions/dependency/deprecation-list@main
21+ with :
22+ buildpack : .
23+ buffer-days : 30
24+
25+ - name : File Issue
26+ if : steps.deprecations.outputs.list != ''
27+ id : file-issue
28+ uses : paketo-buildpacks/github-config/actions/issue/file@main
29+ with :
30+ token : ${{ secrets.CF_BOT_GITHUB_TOKEN }}
31+ repo : ${{ github.repository }}
32+ comment_if_exists : true
33+ label : dependency-deprecation
34+ issue_title : Dependency Deprecation Alert
35+ issue_body : |
36+ Please make sure the following dependencies are removed from buildpack on time.
37+
38+ ${{ steps.deprecations.outputs.list }}
39+ comment_body : |
40+ Reminder that deprecation of the following dependencies may require attention
41+
42+ ${{ steps.deprecations.outputs.list }}
43+
44+ - name : Add issue to project
45+ if : steps.deprecations.outputs.list != ''
46+ id : issue-to-proj
47+ uses : paketo-buildpacks/github-config/actions/issue/add-to-project@main
48+ with :
49+ # CF buildpacks project - https://github.com/orgs/cloudfoundry/projects/37
50+ project-org : cloudfoundry
51+ project-num : 37
52+ field-name : Workstream
53+ option-name : Dependency Deprecations
54+ issue-node-id : ${{ steps.file-issue.outputs.node-id }}
55+ token : ${{ secrets.CF_BOT_GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 2727 run : |
2828 echo "val=$(git describe --abbrev=0 --tag)" >> "${GITHUB_OUTPUT}"
2929
30+ - name : PHP specific task
31+ id : php-specific
32+ if : github.repository == 'cloudfoundry/php-buildpack'
33+ run : |
34+ echo 'task=* Bump PHP modules. See [doc](https://github.com/cloudfoundry/buildpacks-ci/tree/master/scripts/php-modules#pre-buildpack-release-task)' >> "${GITHUB_OUTPUT}"
35+
3036 - name : File Issue
3137 id : file-issue
3238 uses : paketo-buildpacks/github-config/actions/issue/file@main
3743 issue_body : |
3844 Release reminder for ${{ github.event.repository.name }}
3945
46+ ${{ steps.php-specific.outputs.task }}
4047 * See [diff from latest version]("https://github.com/${{ github.repository }}/compare/${{ steps.latest-version.outputs.val }}..develop") and validate if a release is required.
4148 * Make sure the latest commit on `develop` has passed tests on the [CI](https://buildpacks.ci.cf-app.com/teams/main/pipelines/${{ github.event.repository.name }})
4249 * Refer [release instructions](https://github.com/pivotal-cf/tanzu-buildpacks/wiki/Releasing-CF-Buildpacks). (private link)
Original file line number Diff line number Diff line change 1+ name : Synchronize Labels
2+
3+ on :
4+ push :
5+ branches :
6+ - develop
7+ paths :
8+ - .github/labels.yml
9+ workflow_dispatch : {}
10+ jobs :
11+ synchronize :
12+ name : Synchronize Labels
13+ runs-on :
14+ - ubuntu-22.04
15+ steps :
16+ - uses : actions/checkout@v3
17+ - uses : micnncim/action-label-syncer@v1
18+ env :
19+ GITHUB_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments