File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # These are supported funding model platforms
2+
3+ github : [LaswitchTech]
Original file line number Diff line number Diff line change 1+ ---
2+ name : Bug report
3+ about : Create a report to help us improve
4+ title : ' '
5+ labels : bug
6+ assignees : ' '
7+
8+ ---
9+
10+ ### Description
11+
12+ [ Description of the bug or feature]
13+
14+ ### Steps to reproduce
15+
16+ 1 . [ First Step]
17+ 2 . [ Second Step]
18+ 3 . [ and so on...]
19+
20+ ** Expected behavior:** [ What you expected to happen]
21+
22+ ** Actual behavior:** [ What actually happened]
23+
24+ ### Versions
25+
26+ * [ PHP]
27+ * [ Browser]
28+
29+ ### Screenshots or Logs
30+
31+ [ Paste your logs or attach the screenshot]
Original file line number Diff line number Diff line change 1+ ---
2+ name : Feature request
3+ about : Suggest an idea for this project
4+ title : ' '
5+ labels : feature request
6+ assignees : ' '
7+
8+ ---
9+
10+ ** Is your feature request related to a problem? Please describe.**
11+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [ ...]
12+
13+ ** Describe the solution you'd like**
14+ A clear and concise description of what you want to happen.
15+
16+ ** Describe alternatives you've considered**
17+ A clear and concise description of any alternative solutions or features you've considered.
18+
19+ ** Additional context**
20+ Add any other context or screenshots about the feature request here.
Original file line number Diff line number Diff line change 1+ # Configuration for probot-no-response - https://github.com/probot/no-response
2+
3+ # Number of days of inactivity before an Issue is closed for lack of response
4+ daysUntilClose : 14
5+ # Label requiring a response
6+ responseRequiredLabel : need more info
7+ # Comment to post when closing an Issue for lack of response. Set to `false` to disable
8+ closeComment : >
9+ This issue has been automatically closed because there has been no response
10+ to our request for more information from the original author. With only the
11+ information that is currently in the issue, we don't have enough information
12+ to take action. Please reach out if you have or find the answers we need so
13+ that we can investigate further.
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ jobs :
9+ release :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout code
13+ uses : actions/checkout@v2
14+ with :
15+ fetch-depth : 0
16+
17+ - name : Set Tag as Filename
18+ id : tag_name
19+ run : echo "TAG_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV
20+
21+ - name : Create ZIP file
22+ run : zip -r "${{ env.TAG_NAME }}.zip" .
23+
24+ - name : Generate Changelog
25+ id : generate_changelog
26+ run : |
27+ # Find the most recent tag before the current one
28+ PREV_TAG=$(git describe --tags --abbrev=0 HEAD^)
29+
30+ # Create a new CHANGELOG.md file with headers
31+ echo -e "# Changelog\n" > CHANGELOG.md
32+
33+ # List commit messages between the previous tag and current HEAD
34+ git log ${PREV_TAG}..HEAD --pretty=format:"* %s" >> CHANGELOG.md
35+
36+ # List unique contributors for these commits
37+ echo -e "\n\n# Contributors\n" >> CHANGELOG.md
38+ git log ${PREV_TAG}..HEAD --format='%aN' | sort -u | awk '{print "* " $0}' >> CHANGELOG.md
39+
40+ - name : Create Release
41+ id : create_release
42+ uses : actions/create-release@v1
43+ env :
44+ GITHUB_TOKEN : ${{ secrets.GH_PAT }}
45+ with :
46+ tag_name : ${{ github.ref }}
47+ release_name : Release ${{ github.ref }}
48+ draft : false
49+ prerelease : false
50+ body_path : ./CHANGELOG.md
51+
52+ - name : Upload Asset
53+ uses : actions/upload-release-asset@v1
54+ env :
55+ GITHUB_TOKEN : ${{ secrets.GH_PAT }}
56+ with :
57+ upload_url : ${{ steps.create_release.outputs.upload_url }}
58+ asset_path : ./${{ env.TAG_NAME }}.zip
59+ asset_name : source.zip
60+ asset_content_type : application/zip
You can’t perform that action at this time.
0 commit comments