Skip to content

Commit 2ffabe6

Browse files
committed
build: Adds Github actions for link verification and auto-assignment of issues and PRs.
1 parent a4151df commit 2ffabe6

File tree

5 files changed

+91
-4
lines changed

5 files changed

+91
-4
lines changed

.github/workflows/auto-assign.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Auto assign issues and pull requests
2+
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
pull_request:
8+
types:
9+
- opened
10+
11+
jobs:
12+
run:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
issues: write
16+
pull-requests: write
17+
steps:
18+
- name: Assign issues and pull requests
19+
uses: gustavofreze/[email protected]
20+
with:
21+
assignees: '${{ secrets.ASSIGNEES }}'
22+
github_token: '${{ secrets.GITHUB_TOKEN }}'
23+
allow_self_assign: 'true'
24+
allow_no_assignees: 'true'
25+
assignment_options: 'ISSUE,PULL_REQUEST'

.github/workflows/validate-links.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Validate links
2+
3+
on:
4+
pull_request:
5+
schedule:
6+
- cron: 0 0 * * *
7+
8+
jobs:
9+
link-checker:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
issues: write
13+
contents: read
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Check links
17+
id: lychee
18+
uses: lycheeverse/[email protected]
19+
- name: Create issue
20+
if: env.lychee_exit_code != 0
21+
uses: peter-evans/create-issue-from-file@v4
22+
with:
23+
title: Link checker report
24+
labels: 'report, automated-issue'
25+
content-filepath: ./lychee/out.md
26+
- name: Assign issues and pull requests
27+
if: env.lychee_exit_code != 0
28+
uses: gustavofreze/[email protected]
29+
with:
30+
assignees: '${{ secrets.ASSIGNEES }}'
31+
github_token: '${{ secrets.GITHUB_TOKEN }}'
32+
allow_self_assign: 'true'
33+
allow_no_assignees: 'true'
34+
assignment_options: 'ISSUE'

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022-2025 Kotlin Brasil
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Meetups
22

3-
### Sul
4-
* [Cascavel Kotlin Meetup](https://www.meetup.com/Kotlin-Meetup-Cascavel/)
53
### Sudeste
6-
* [Sao Paulo Kotlin Meetup](https://www.meetup.com/kotlin-meetup-sp/)
7-
* [Rio de Janeiro](https://www.meetup.com/Kotlin-Rio/)
4+
5+
* [Kotlin Meetup São Paulo](https://www.meetup.com/kotlin-meetup-sp)
6+
* [Kotlin Rio](https://www.meetup.com/Kotlin-Rio)

0 commit comments

Comments
 (0)