-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat/refresh-context
- Loading branch information
Showing
23 changed files
with
352 additions
and
144 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
|
@@ -8,6 +8,6 @@ | |
|
||
set -e | ||
|
||
.github/assert-contributors.sh | ||
.github/generate-authors.sh | ||
|
||
exit 0 |
This file contains 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,73 @@ | ||
# | ||
# DO NOT EDIT THIS FILE | ||
# | ||
# It is automatically copied from https://github.com/pion/.goassets repository. | ||
# If this repository should have package specific CI config, | ||
# remove the repository name from .goassets/.github/workflows/assets-sync.yml. | ||
# | ||
# If you want to update the shared CI config, send a PR to | ||
# https://github.com/pion/.goassets instead of this repository. | ||
# | ||
|
||
name: generate-authors | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
checksecret: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
is_PIONBOT_PRIVATE_KEY_set: ${{ steps.checksecret_job.outputs.is_PIONBOT_PRIVATE_KEY_set }} | ||
steps: | ||
- id: checksecret_job | ||
env: | ||
PIONBOT_PRIVATE_KEY: ${{ secrets.PIONBOT_PRIVATE_KEY }} | ||
run: | | ||
echo "is_PIONBOT_PRIVATE_KEY_set: ${{ env.PIONBOT_PRIVATE_KEY != '' }}" | ||
echo "::set-output name=is_PIONBOT_PRIVATE_KEY_set::${{ env.PIONBOT_PRIVATE_KEY != '' }}" | ||
generate-authors: | ||
needs: [checksecret] | ||
if: needs.checksecret.outputs.is_PIONBOT_PRIVATE_KEY_set == 'true' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
fetch-depth: 0 | ||
token: ${{ secrets.PIONBOT_PRIVATE_KEY }} | ||
|
||
- name: Generate the authors file | ||
run: .github/generate-authors.sh | ||
|
||
- name: Add the authors file to git | ||
run: git add AUTHORS.txt | ||
|
||
- name: Get last commit message | ||
id: last-commit-message | ||
run: | | ||
COMMIT_MSG=$(git log -1 --pretty=%B) | ||
COMMIT_MSG="${COMMIT_MSG//'%'/'%25'}" | ||
COMMIT_MSG="${COMMIT_MSG//$'\n'/'%0A'}" | ||
COMMIT_MSG="${COMMIT_MSG//$'\r'/'%0D'}" | ||
echo "::set-output name=msg::$COMMIT_MSG" | ||
- name: Get last commit author | ||
id: last-commit-author | ||
run: | | ||
echo "::set-output name=msg::$(git log -1 --pretty='%aN <%ae>')" | ||
- name: Check if AUTHORS.txt file has changed | ||
id: git-status-output | ||
run: | | ||
echo "::set-output name=msg::$(git status -s | wc -l)" | ||
- name: Commit and push | ||
if: ${{ steps.git-status-output.outputs.msg != '0' }} | ||
run: | | ||
git config user.email $(echo "${{ steps.last-commit-author.outputs.msg }}" | sed 's/\(.\+\) <\(\S\+\)>/\2/') | ||
git config user.name $(echo "${{ steps.last-commit-author.outputs.msg }}" | sed 's/\(.\+\) <\(\S\+\)>/\1/') | ||
git add AUTHORS.txt | ||
git commit --amend --no-edit | ||
git push --force https://github.com/${GITHUB_REPOSITORY} $(git symbolic-ref -q --short HEAD) |
This file contains 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 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 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 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 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 |
---|---|---|
|
@@ -22,3 +22,4 @@ cover.out | |
*.wasm | ||
examples/sfu-ws/cert.pem | ||
examples/sfu-ws/key.pem | ||
wasm_exec.js |
This file contains 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,27 @@ | ||
# Thank you to everyone that made Pion possible. If you are interested in contributing | ||
# we would love to have you https://github.com/pion/webrtc/wiki/Contributing | ||
# | ||
# This file is auto generated, using git to list all individuals contributors. | ||
# see `.github/generate-authors.sh` for the scripting | ||
adamroach <[email protected]> | ||
Agniva De Sarker <[email protected]> | ||
Antoine Baché <[email protected]> | ||
Atsushi Watanabe <[email protected]> | ||
backkem <[email protected]> | ||
chenkaiC4 <[email protected]> | ||
Chris Hiszpanski <[email protected]> | ||
cszdlt <[email protected]> | ||
Hugo Arregui <[email protected]> | ||
Jerko Steiner <[email protected]> | ||
Juliusz Chroboczek <[email protected]> | ||
Luke Curley <[email protected]> | ||
Luke Curley <[email protected]> | ||
Max Hawkins <[email protected]> | ||
mission-liao <[email protected]> | ||
Novel Corpse <[email protected]> | ||
OrlandoCo <[email protected]> | ||
Sean DuBois <[email protected]> | ||
Sean DuBois <[email protected]> | ||
Tobias Fridén <[email protected]> | ||
Woodrow Douglass <[email protected]> | ||
Yutaka Takeda <[email protected]> |
Oops, something went wrong.