Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

chore: update script heuristics to find more meaningful repositories to ingest #196

Merged
merged 3 commits into from
Jan 17, 2024

Conversation

sjungling
Copy link
Member

also limiting to 500 by lang/topic.

@sjungling sjungling marked this pull request as draft January 17, 2024 22:01
repos.csv Outdated Show resolved Hide resolved
@sjungling sjungling marked this pull request as ready for review January 17, 2024 22:03
…to ingest

also limiting to 500 by lang/topic.
Copy link
Contributor

@timtebeek timtebeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to see this put to more use!

@sjungling sjungling merged commit 015fd42 into main Jan 17, 2024
1 check passed
@sjungling sjungling deleted the chore/update-js-ts branch January 17, 2024 22:24
@timtebeek
Copy link
Contributor

Had to do a quick fix on the job that would have otherwise triggered a downstream refresh of the Jenkins jobs:
b4c6fe7
I see you've also triggered that job manually already; nice!

@sjungling
Copy link
Member Author

@timtebeek oooh, so normally it'll auto-run on commit to main? but can also be manually trigged via the action in moderne-cli ?

@timtebeek
Copy link
Contributor

Yup! Any changes made to repos.csv trigger a workflow that updates the Jenkins jobs; it even does a bit of foo to extract a prefix if it recognizes the commit message format:

echo '${{ github.event.commits[0].message }}' > commit.txt
COMMIT_TITLE=$(head -n 1 commit.txt)
rm commit.txt
ADDED_ORG=$(echo $COMMIT_TITLE| sed 's/\[Auto\] The \(.*\) GitHub organization is added\(.*\)$/\1/')
echo $ADDED_ORG
echo "ADDED_ORG=$ADDED_ORG" >> $GITHUB_ENV
echo "COMMIT_TITLE=$COMMIT_TITLE" >> $GITHUB_ENV

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants