-
Notifications
You must be signed in to change notification settings - Fork 4
71 lines (61 loc) · 3.35 KB
/
issue-creation-tool-versions.yml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
name: Evaluate Tool Versions
on:
schedule:
- cron: 0 0 1 */3 *
workflow_dispatch:
permissions: {}
jobs:
create-issue:
name: Create tool version evaluation issue
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- run: |
if [[ $CLOSE_PREVIOUS == true ]]; then
previous_issue_number=$(gh issue list \
--label "$LABELS" \
--json number \
--jq '.[0].number')
if [[ -n $previous_issue_number ]]; then
gh issue close "$previous_issue_number"
gh issue unpin "$previous_issue_number"
fi
fi
new_issue_url=$(gh issue create \
--title "$TITLE" \
--label "$LABELS" \
--body "$BODY")
if [[ $PINNED == true ]]; then
gh issue pin "$new_issue_url"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
TITLE: Evaluate tool versions
LABELS: scheduled,tool-versions
BODY: |
## Description
This issue is automatically created as a gentle reminder to evaluate and update the tool versions for the container images built from this repository.
The checklist below describes the steps that should be taken, and checked-off before this issue can be closed.
Any decisions about purposefully not updating a tool to a newer version should be logged as issue comment.
The general philosophy is to always include the latest tool versions and the latest [LTS](https://ubuntu.com/about/release-cycle) version of Ubuntu.
Please note that, where possible, tool versions are kept up to date by Dependabot.
Below list includes tools that are not under Dependabot control.
## Checklist
### amp-devcontainer-cpp
- [ ] The [ARM GNU](https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads) toolchain is up to date and matches with the GCC version
- [ ] The [Clang toolchain](https://apt.llvm.org/) is up to date
- [ ] The [CPM](https://github.com/cpm-cmake/CPM.cmake) package manager is up to date
- [ ] The [Docker cli](https://download.docker.com/linux/static/stable/) is up to date
- [ ] [bats-core](https://github.com/bats-core/bats-core), [bats-support](https://github.com/bats-core/bats-support) and [bats-assert](https://github.com/bats-core/bats-assert) are up to date
- [ ] [Mull](https://github.com/mull-project/mull) is up to date and compatible with the currently installed Clang version
- [ ] [include-what-you-use](https://github.com/include-what-you-use/include-what-you-use) is up to date and compatible with the currently installed Clang version
- [ ] [xwin](https://github.com/Jake-Shadle/xwin) is up to date
### amp-devcontainer-rust
- [ ] The [rust](https://rust-lang.org/) toolchain is up to date
- [ ] [rust-binstall](https://github.com/cargo-bins/cargo-binstall/releases) is up to date
- [ ] [bats-core](https://github.com/bats-core/bats-core), [bats-support](https://github.com/bats-core/bats-support) and [bats-assert](https://github.com/bats-core/bats-assert) are up to date
PINNED: true
CLOSE_PREVIOUS: true