mirror of
https://github.com/actions/cache.git
synced 2025-10-30 23:07:57 +07:00
Compare commits
171 Commits
v3.0.2
...
bishal-pdM
| Author | SHA1 | Date | |
|---|---|---|---|
| 619517aa29 | |||
| dc097e3bb9 | |||
| fb86cbf360 | |||
| a57932faba | |||
| 04b13caea4 | |||
| 941bc71a24 | |||
| 08d8639046 | |||
| a2f324eeb7 | |||
| 35f4702f6c | |||
| e050ebdd63 | |||
| 0d47d164e9 | |||
| e2d614414f | |||
| 532752012e | |||
| b26da1fc31 | |||
| ce61cc4d24 | |||
| 268ae08cbc | |||
| b4ac56fa43 | |||
| 24f54d74c0 | |||
| 8d99052cbc | |||
| 58a0402e7d | |||
| 7920f570b8 | |||
| f8116c8945 | |||
| 2a6cd14175 | |||
| 651d82954c | |||
| cfa1b7695d | |||
| fa8856311e | |||
| ef145dd134 | |||
| 6babf202a4 | |||
| 5c79b3fd6c | |||
| 3ff04605d3 | |||
| db8d946d18 | |||
| 0e93819da5 | |||
| 9a6a4f6079 | |||
| d0af8a3ecc | |||
| 8bec1e4cc3 | |||
| 14f2d18ea2 | |||
| 083fb3041b | |||
| 5085ac92ef | |||
| 76639bb4e5 | |||
| 5294b3f306 | |||
| 4fe9c4bd54 | |||
| 2b04a41915 | |||
| 9b0c1fce7a | |||
| 18103f63fe | |||
| 3e383cd9c3 | |||
| 43428ea056 | |||
| 1c73980b09 | |||
| a3f5edc237 | |||
| 831ee695a5 | |||
| b9c8bfe442 | |||
| 0f20846208 | |||
| 862fc14188 | |||
| f77a0d297b | |||
| 50a4a3a126 | |||
| 56461b9eb0 | |||
| f85d12c3b2 | |||
| 98044e486f | |||
| edc49897ec | |||
| 68d96986b5 | |||
| ac8075791e | |||
| 0ff0597934 | |||
| 12681847c6 | |||
| 3238536a48 | |||
| 1a78ace131 | |||
| 1bc650b06c | |||
| 92e01f4797 | |||
| b195c997a4 | |||
| 9f98a2f01c | |||
| 471fb0c87e | |||
| a213d1e898 | |||
| 0c180092a2 | |||
| c38f55d874 | |||
| 2865f2c28c | |||
| f52a12d355 | |||
| a057257949 | |||
| d1124f7857 | |||
| 7b5e3aaf23 | |||
| eb8b610ee6 | |||
| 27c0af5532 | |||
| 7e7820edca | |||
| 6c9470d12d | |||
| a59a2347a7 | |||
| d785f8b8a2 | |||
| 81423d07fe | |||
| c1dbd4593f | |||
| 5f975d03e6 | |||
| 8a9a57869f | |||
| fb1d96e3ff | |||
| 2048ecfa86 | |||
| 8954b07458 | |||
| 0ae6818675 | |||
| f316f94f31 | |||
| 204fa1ab69 | |||
| fd5de65bc8 | |||
| d49b6bb21d | |||
| 23d218be27 | |||
| a7c34adf76 | |||
| 83394c99b7 | |||
| e839c25979 | |||
| 33a923d660 | |||
| a404368986 | |||
| f4278025ab | |||
| 9916fe1701 | |||
| 318935ef66 | |||
| 85efbb58b9 | |||
| 4387dbc81a | |||
| 71e3ee5cce | |||
| c316eb7911 | |||
| 0865c47f36 | |||
| 354a2ae15e | |||
| baed3516c3 | |||
| 8829e97be1 | |||
| eec8cd3f5f | |||
| 5cc84c0123 | |||
| a0e530f115 | |||
| afc669e7fc | |||
| a0efc56c52 | |||
| d25c51bbfd | |||
| a080a3bda4 | |||
| 02be3a9c73 | |||
| c3f1317a9e | |||
| d0a54b996c | |||
| 8c5bd0c82d | |||
| c9c0f73558 | |||
| 2b6caae3c9 | |||
| dd58d1315f | |||
| acace7fa1b | |||
| 438628ac22 | |||
| c296e6a08c | |||
| 7ed7f22ed8 | |||
| 30f413bfed | |||
| f2ea0f25f2 | |||
| d5956bbc3c | |||
| a686c72e4a | |||
| 8e680ea440 | |||
| c376fc84c9 | |||
| 4ce1a96732 | |||
| a2bd439f8e | |||
| 35ef551d1f | |||
| 14c4fd4871 | |||
| 455d267066 | |||
| ccaf2d8fb1 | |||
| 34f9efca11 | |||
| 11dd8059a1 | |||
| e19e89eb2a | |||
| 95f200e41c | |||
| 9c784e290b | |||
| a34051afb0 | |||
| bdb21a7177 | |||
| d55d005ab0 | |||
| b44d6c5cbf | |||
| 60742c2acf | |||
| 12086c7bbf | |||
| 626c44ce85 | |||
| f2d5621efc | |||
| cab6d27614 | |||
| 69811fd677 | |||
| 887b9060fe | |||
| c6762fdd6a | |||
| 95c3ae75f4 | |||
| 797382fe42 | |||
| 36dbd93a7c | |||
| 45f362d0ca | |||
| ca0688b4ab | |||
| ef8498dcba | |||
| 8f1e2e0286 | |||
| 3722efebf1 | |||
| 5074380beb | |||
| 3767bf0386 | |||
| 2086306d9c | |||
| 009fe4e01c |
32
.github/pull_request_template.md
vendored
Normal file
32
.github/pull_request_template.md
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
<!--- Provide a general summary of your changes in the Title above -->
|
||||
|
||||
## Description
|
||||
<!--- Describe your changes in detail -->
|
||||
|
||||
## Motivation and Context
|
||||
<!--- Why is this change required? What problem does it solve? -->
|
||||
<!--- If it fixes an open issue, please link to the issue here. -->
|
||||
|
||||
## How Has This Been Tested?
|
||||
<!--- Please describe in detail how you tested your changes. -->
|
||||
<!--- Include details of your testing environment, and the tests you ran to -->
|
||||
<!--- see how your change affects other areas of the code, etc. -->
|
||||
|
||||
## Screenshots (if appropriate):
|
||||
|
||||
## Types of changes
|
||||
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
|
||||
- [ ] Bug fix (non-breaking change which fixes an issue)
|
||||
- [ ] New feature (non-breaking change which adds functionality)
|
||||
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
|
||||
- [ ] Documentation (add or update README or docs)
|
||||
|
||||
## Checklist:
|
||||
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
|
||||
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
|
||||
- [ ] My code follows the code style of this project.
|
||||
- [ ] My change requires a change to the documentation.
|
||||
- [ ] I have updated the documentation accordingly.
|
||||
- [ ] I have read the **CONTRIBUTING** document.
|
||||
- [ ] I have added tests to cover my changes.
|
||||
- [ ] All new and existing tests passed.
|
||||
20
.github/workflows/add-reviewer-pr.yml
vendored
Normal file
20
.github/workflows/add-reviewer-pr.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Add Reviewer PR
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened]
|
||||
jobs:
|
||||
run-action:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get current oncall
|
||||
id: oncall
|
||||
run: |
|
||||
echo "CURRENT=$(curl --request GET 'https://api.pagerduty.com/oncalls?include[]=users&schedule_ids[]=P5VG2BX&earliest=true' --header 'Authorization: Token token=${{ secrets.PAGERDUTY_TOKEN }}' --header 'Accept: application/vnd.pagerduty+json;version=2' --header 'Content-Type: application/json' | jq -r '.oncalls[].user.name')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Request Review
|
||||
run: |
|
||||
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/pulls/${{ github.event.pull_request.number}}/requested_reviewers -d '{"reviewers":["${{steps.oncall.outputs.CURRENT}}"]}'
|
||||
|
||||
- name: Add Assignee
|
||||
run: |
|
||||
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/issues/${{ github.event.pull_request.number}}/assignees -d '{"assignees":["${{steps.oncall.outputs.CURRENT}}"]}'
|
||||
16
.github/workflows/assign-issue.yml
vendored
Normal file
16
.github/workflows/assign-issue.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
name: Assign issue
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
jobs:
|
||||
run-action:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get current oncall
|
||||
id: oncall
|
||||
run: |
|
||||
echo "CURRENT=$(curl --request GET 'https://api.pagerduty.com/oncalls?include[]=users&schedule_ids[]=P5VG2BX&earliest=true' --header 'Authorization: Token token=${{ secrets.PAGERDUTY_TOKEN }}' --header 'Accept: application/vnd.pagerduty+json;version=2' --header 'Content-Type: application/json' | jq -r '.oncalls[].user.name')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: add_assignees
|
||||
run: |
|
||||
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/issues/${{ github.event.issue.number}}/assignees -d '{"assignees":["${{steps.oncall.outputs.CURRENT}}"]}'
|
||||
14
.github/workflows/check-dist.yml
vendored
14
.github/workflows/check-dist.yml
vendored
@ -22,16 +22,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set Node.js 12.x
|
||||
uses: actions/setup-node@v1
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup Node.js 16.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 12.x
|
||||
|
||||
node-version: 16.x
|
||||
cache: npm
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Rebuild the dist/ directory
|
||||
run: npm run build
|
||||
|
||||
@ -45,7 +43,7 @@ jobs:
|
||||
id: diff
|
||||
|
||||
# If index.js was different than expected, upload the expected version as an artifact
|
||||
- uses: actions/upload-artifact@v2
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
|
||||
with:
|
||||
name: dist
|
||||
|
||||
4
.github/workflows/close-inactive-issues.yml
vendored
4
.github/workflows/close-inactive-issues.yml
vendored
@ -12,10 +12,10 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/stale@v3
|
||||
with:
|
||||
days-before-issue-stale: 365
|
||||
days-before-issue-stale: 200
|
||||
days-before-issue-close: 5
|
||||
stale-issue-label: "stale"
|
||||
stale-issue-message: "This issue is stale because it has been open for 365 days with no activity. Leave a comment to avoid closing this issue in 5 days."
|
||||
stale-issue-message: "This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days."
|
||||
close-issue-message: "This issue was closed because it has been inactive for 5 days since being marked as stale." | ||||