mirror of https://github.com/actions/checkout
Compare commits
4 Commits
fbbb169e67
...
209963d544
| Author | SHA1 | Date |
|---|---|---|
|
|
209963d544 | |
|
|
28802689a1 | |
|
|
7a020261fa | |
|
|
bd5c14db95 |
|
|
@ -35913,7 +35913,7 @@ class GitCommandManager {
|
||||||
else {
|
else {
|
||||||
args.push(globalConfig ? '--global' : '--local');
|
args.push(globalConfig ? '--global' : '--local');
|
||||||
}
|
}
|
||||||
args.push('--unset', configKey, configValue);
|
args.push('--unset', configKey, regexp_helper_escape(configValue));
|
||||||
const output = await this.execGit(args, true);
|
const output = await this.execGit(args, true);
|
||||||
return output.exitCode === 0;
|
return output.exitCode === 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
---
|
||||||
|
# This workflow will execute on pull request to dev branch
|
||||||
|
|
||||||
|
name: pr-workflow
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- dev
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: get the code
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
- name: compile the code
|
||||||
|
run: mvn compile
|
||||||
|
- name: test the code
|
||||||
|
run: mvn test
|
||||||
|
- name: create the package
|
||||||
|
run: mvn package
|
||||||
|
|
||||||
|
|
@ -510,7 +510,7 @@ class GitCommandManager {
|
||||||
} else {
|
} else {
|
||||||
args.push(globalConfig ? '--global' : '--local')
|
args.push(globalConfig ? '--global' : '--local')
|
||||||
}
|
}
|
||||||
args.push('--unset', configKey, configValue)
|
args.push('--unset', configKey, regexpHelper.escape(configValue))
|
||||||
|
|
||||||
const output = await this.execGit(args, true)
|
const output = await this.execGit(args, true)
|
||||||
return output.exitCode === 0
|
return output.exitCode === 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue