-
-
Notifications
You must be signed in to change notification settings - Fork 358
feat: add GitHub Action to auto-update project_structure.txt #496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
M4dhav
merged 15 commits into
AOSSIE-Org:dev
from
yuvikaaaaaa:github-action-project-structure
Aug 1, 2025
Merged
Changes from 7 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
a4f0f29
fix: move greet_contributors.yml to correct workflows directory
153a4dc
Merge pull request #479 from vnaik10/fix/greet-contributors-workflow-…
Aarush-Acharya 5785984
feat: add GitHub Action to auto-update project_structure.txt
its-yuvika2004 461766e
fix: add missing job to GitHub Action
its-yuvika2004 b025fc3
Update update-project-structure.yml
yuvikaaaaaa 499af73
chore: update project structure
github-actions[bot] 28e4893
Update update-project-structure.yml
yuvikaaaaaa 37a48bb
Update onboarding_controller.dart
yuvikaaaaaa b67d193
Update upcomming_rooms_controller.dart
yuvikaaaaaa ca2a9be
Update room_service.dart
yuvikaaaaaa cd03350
Update onboarding_controller.dart
yuvikaaaaaa bbf022a
Update onboarding_controller.dart
yuvikaaaaaa d3d17bd
Update onboarding_controller.dart
yuvikaaaaaa cba2b74
Merge branch 'dev' into github-action-project-structure
yuvikaaaaaa 424a1f5
chore: update project structure
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| name: Greet Contributors | ||
|
|
||
| on: | ||
| issues: | ||
| types: [opened] | ||
| pull_request: | ||
| types: [opened] | ||
|
|
||
| permissions: | ||
| issues: write | ||
| pull-requests: write | ||
| contents: read | ||
|
|
||
| jobs: | ||
| greet: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Print GitHub context | ||
| run: echo "${{ toJson(github) }}" | ||
|
|
||
| - name: Send greeting message for issues | ||
| if: github.event_name == 'issues' | ||
| uses: actions-ecosystem/action-create-comment@v1.4.0 | ||
| continue-on-error: true | ||
| with: | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| repo: ${{ github.repository }} | ||
| number: ${{ github.event.issue.number }} | ||
| body: | | ||
| Hi @${{ github.event.issue.user.login }}! | ||
| Thanks for opening this issue, would you like to work on this? | ||
|
|
||
| - name: Send greeting message for PRs | ||
| if: github.event_name == 'pull_request' | ||
| uses: actions-ecosystem/action-create-comment@v1.4.0 | ||
| continue-on-error: true | ||
| with: | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| repo: ${{ github.repository }} | ||
| number: ${{ github.event.pull_request.number }} | ||
| body: | | ||
| Hi @${{ github.event.pull_request.user.login }}! 🎉 | ||
| Thanks for opening this pull request. We appreciate your contribution. | ||
|
|
||
| - name: Log completion | ||
| run: | | ||
| echo "Greeting workflow completed successfully" | ||
| echo "Event type: ${{ github.event_name }}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| name: Update Project Structure | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - github-action-project-structure | ||
| - dev | ||
|
|
||
| jobs: | ||
| generate-structure: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Generate project structure | ||
| run: | | ||
| tree -a -I 'node_modules|.git' > project_structure.txt | ||
|
|
||
| - name: Commit and push changes | ||
| run: | | ||
| git config user.name "github-actions[bot]" | ||
| git config user.email "github-actions[bot]@users.noreply.github.com" | ||
| git add project_structure.txt | ||
| git commit -m "chore: update project structure" | ||
| git push | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.