Skip to content

Commit

Permalink
ci: update triage PR destination and update sync destinations
Browse files Browse the repository at this point in the history
  • Loading branch information
insertish committed Mar 28, 2024
1 parent c3f7ca6 commit efaff75
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 13 deletions.
36 changes: 25 additions & 11 deletions .github/sync.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,41 @@
group:
# should match profile/README.md
#
# excluded repos:
# - rfcs: separate issues
# - rvmob: separate issues
# - mutiny: separate issues
# - components: dead repo
# - awesome-revolt: separate issues
# - revolt: meta-repo
# - revolt.py: separate issues
# - themes: separate issues
# - translations: separate issues
repos: |
revoltchat/revite
revoltchat/frontend
revoltchat/android
revoltchat/revolt
revoltchat/ios
revoltchat/desktop
revoltchat/android-twa
revoltchat/fdroid
revoltchat/backend
revoltchat/api
revoltchat/revolt.js
revoltchat/vortex
revoltchat/autumn
revoltchat/january
revoltchat/revolt.js
revoltchat/api
revoltchat/translations
revoltchat/themes
revoltchat/desktop
revoltchat/android-twa
revoltchat/lists_vpn
revoltchat/cla
revoltchat/contributions
revoltchat/documentation
revoltchat/genemoji
revoltchat/self-hosted
revoltchat/legal
revoltchat/contributions
revoltchat/fdroid
revoltchat/revolt.chat
revoltchat/self-hosted
files:
- source: workflows/triage_issue.yml
dest: .github/workflows/triage_issue.yml
Expand Down
4 changes: 2 additions & 2 deletions workflows/triage_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
gh api graphql -f query='
query {
organization(login: "revoltchat"){
projectV2(number: 3) {
projectV2(number: 5) {
id
fields(first:20) {
nodes {
Expand All @@ -35,7 +35,7 @@ jobs:
echo 'PROJECT_ID='$(jq '.data.organization.projectV2.id' project_data.json) >> $GITHUB_ENV
echo 'STATUS_FIELD_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") | .id' project_data.json) >> $GITHUB_ENV
echo 'INCOMING_OPTION_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") | .options[] | select(.name=="Incoming PRs") |.id' project_data.json) >> $GITHUB_ENV
echo 'INCOMING_OPTION_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") | .options[] | select(.name=="🆕 Untriaged") |.id' project_data.json) >> $GITHUB_ENV
- name: Add PR to project
env:
Expand Down

0 comments on commit efaff75

Please sign in to comment.