Skip to content
Merged

d #307

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/debug-context.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ jobs:
# "github.head_ref = pr/welan/md-spell"
echo "github.head_ref = ${{ github.head_ref }}"

# avalibale for pull_request or pull_request_target
echo "github.event.pull_request.base.sha = ${{ github.event.pull_request.base.sha }}"
# avalibale for pull_request or pull_request_target
echo "github.event.pull_request.head.sha = ${{ github.event.pull_request.head.sha }}"

echo "github.event.pull_request_target.base.sha = ${{ github.event.pull_request_target.base.sha }}"
echo "github.event.pull_request_target.head.sha = ${{ github.event.pull_request_target.head.sha }}"


# =============== push
echo "github.event.push.ref = ${{ github.event.push.ref }}"
#The SHA of the most recent commit on ref before the push.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
echo ::set-output name=ref::${tag_name}
elif ${{ github.event_name == 'push' }} ; then
echo ::set-output name=ref::${{ github.event.push.after }}
elif ${{ github.event_name == 'pull_request' }} ; then
elif ${{ github.event_name == 'pull_request' }} || ${{ github.event_name == 'pull_request_target' }} ; then
echo "trigger by pull_request_target"
echo ::set-output name=tag::${{ github.event.pull_request.head.sha }}
else
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/development/issue.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# issue manager

if an issue lasts stale longer than 60 days, label it with "issue/stale" and then close it after 14 days
if an issue lasts stale longer than 60 days, label it with "issue/stale" and then close it after 14 days
2 changes: 1 addition & 1 deletion pkg/lock/lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ type RWMutex struct {

// Mutex is equivalent to sync.Mutex but applies deadlock detection if the
// built tag "lockdebug" is set
type Mutex struct {
type Mutex struct {
internalMutex
}