Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore Release: 6.4.0 #2079

Merged
merged 227 commits into from
Sep 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
227 commits
Select commit Hold shift + click to select a range
0cf15cf
Show information about CORS policy if query fails due to CORS restric…
millicentachieng Jan 12, 2022
ce3d100
chore/handover-translations-202112102137 (#1311)
thewahome Jan 12, 2022
8489f75
Add PowerShell snippets tab (#1273)
millicentachieng Jan 13, 2022
e6252d1
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jan 13, 2022
b121494
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jan 13, 2022
3fbec05
chore/handover-translations-202112132250 (#1317)
thewahome Jan 13, 2022
765110a
Merge January 2022 release into dev (#1345)
millicentachieng Jan 14, 2022
473d1e0
Update azure-pipelines.yml for Azure Pipelines
ElinorW Jan 14, 2022
e5551e5
Add resource explorer telemetry (#1347)
millicentachieng Jan 14, 2022
cdb7463
Fix: Expand/Collapse button on Response Preview editor (#1349)
ElinorW Jan 17, 2022
27581fb
remove header from resource context menu (#1337)
Onokaev Jan 17, 2022
a5b2d2b
chore/handover-translations-202201141637 (#1352)
thewahome Jan 17, 2022
8b0fc32
Adds ability to add functions to collections (#1348)
Onokaev Jan 18, 2022
222d43f
Fixes preview collection button (#1350)
Onokaev Jan 18, 2022
a32fff6
chore/handover-translations-202201181914 (#1355)
thewahome Jan 18, 2022
e4a7cd6
Removes 'Access Query Parameters' from the resources' context menu (#…
Onokaev Jan 19, 2022
6875104
Task: Update dependencies (#1356)
ElinorW Jan 19, 2022
69c23e7
add status message to history item (#1364)
Onokaev Jan 24, 2022
1efb010
Fix: disable link highlighting (#1358)
Onokaev Jan 26, 2022
966b99c
Fix version validation for autocomplete (#1357)
millicentachieng Jan 26, 2022
319d354
Fix: Enable focus to remain on copy button when clicked (#1379)
ElinorW Jan 26, 2022
9055147
Fix: Add aria-label for items in the sample queries tab (#1378)
ElinorW Jan 27, 2022
d27a373
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jan 28, 2022
29f06be
chore/handover-translations-202201301912
thewahome Jan 31, 2022
bfa0ca1
Fix: Query input 'i' icon focus (#1377)
ElinorW Jan 31, 2022
35ab3b2
Update user profile info if they use a different account to consent t…
millicentachieng Jan 31, 2022
99aed2a
Update documentation link icon (#1390)
millicentachieng Feb 1, 2022
72be5be
Fix: Text overflowing on feedback and access token tabs (#1382)
Onokaev Feb 1, 2022
11d689c
Show Resource Explorer HTTP methods next to resource (#1367)
millicentachieng Feb 1, 2022
f517d99
change pivot items order (#1407)
ElinorW Feb 2, 2022
59e2ddc
Hide resources tab (#1408)
millicentachieng Feb 2, 2022
e52cc64
Fix copy button on response headers (#1409)
Onokaev Feb 2, 2022
8d159cd
Fix: Appearing/Disappearing popup (#1418)
ElinorW Feb 3, 2022
8b1cbe6
Fix: Selectively disable HTTP cache for failing anonymous fetch calls…
Onokaev Feb 3, 2022
8da621e
chore/handover-translations-202202041836 (#1425)
thewahome Feb 4, 2022
630f639
chore/handover-translations-202202061812 (#1428)
thewahome Feb 7, 2022
39b72e7
chore/handover-translations-202202071552 (#1430)
thewahome Feb 7, 2022
d00663e
Release: February 2022 (#1447)
ElinorW Feb 10, 2022
8dccf2c
Fix: hanging run query button (#1445)
thewahome Feb 11, 2022
df516d9
Fix: Narrator announces Tab items activation (#1435)
ElinorW Feb 11, 2022
ab90380
Fix: Remove extra outline from search boxes (#1438)
Onokaev Feb 15, 2022
d5efe72
Fix: Resize sidebar (#1433)
thewahome Feb 15, 2022
e9e8ffe
remove semi-colon (#1457)
ElinorW Feb 15, 2022
131e9f9
Task: Add Manifest Generator task for EO compliance (#1439)
MIchaelMainer Feb 16, 2022
7c9645b
Task: Migrate from webpack v4 to webpack v5 (#1395)
ElinorW Feb 17, 2022
965a636
Fix: Toolkit component text padding (#1461)
Onokaev Feb 17, 2022
64cf11d
Enhancement: Changes position of feedback button (#1455)
Onokaev Feb 17, 2022
d15d055
chore/handover-translations-202202180932 (#1468)
thewahome Feb 18, 2022
44f0b1b
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Feb 18, 2022
8e1bb8a
Task: Improve test coverage (#1434)
Onokaev Feb 18, 2022
612acea
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Feb 18, 2022
255e8fa
chore: handover translations 202202182126
thewahome Feb 21, 2022
f24aa42
chore: handover translations 202202190029
thewahome Feb 21, 2022
3bef3d8
chore: handover translations 202202190327
thewahome Feb 21, 2022
5d83574
chore: handover translations 202202191226
thewahome Feb 21, 2022
87c2228
Chore: update dependencies (#1476)
thewahome Feb 21, 2022
b99d239
Disable invalid space error on url on carriage returns (#1464)
Onokaev Feb 22, 2022
5058967
Chore: reorganise test files (#1481)
thewahome Feb 22, 2022
18ed162
add new code owner (#1485)
Onokaev Feb 22, 2022
8704131
Chore: remove unnecessary packages (#1487)
thewahome Feb 23, 2022
eca50b5
Fix: Selectively disable invalid url warning (#1484)
Onokaev Feb 24, 2022
ebfbaf8
decode url within a try catch (#1489)
Onokaev Feb 24, 2022
a4c6126
Fix: Corrects position of feedback button and GE title (#1492)
Onokaev Feb 28, 2022
253c019
Task: Adjust feedback popup time (#1496)
ElinorW Mar 1, 2022
838a9d4
Fix/share button enhancement (#1459)
Onokaev Mar 1, 2022
92b515f
Tests: move spec files closer to file under test (#1497)
thewahome Mar 1, 2022
9e9e8b5
Chore: change build agent to MsGraphBuildAgentsWindows (#1511)
thewahome Mar 2, 2022
2cb40b6
Fix: try-it experience layout (#1495)
thewahome Mar 2, 2022
a6aa6f3
Tests: skip spec.tsx files (#1519)
thewahome Mar 3, 2022
54e2940
Enhancement: Code snippets UI (#1494)
ElinorW Mar 3, 2022
46c2eb5
fix: restore accessibility tests (#1526)
Onokaev Mar 5, 2022
8b8c80f
Fix: Show correct information on Modify Permissions tab (#1498)
Onokaev Mar 8, 2022
e1f9d27
Fix: Add Fluent Responsive stylesheet (#1500)
ElinorW Mar 8, 2022
1b428c8
Chore: Cut a release github workflow (#1514)
thewahome Mar 8, 2022
0ef55d6
Fix: Authentication error handling (#1547)
Onokaev Mar 10, 2022
1a7c967
Chore: Update to 4.17.0 (#1548)
github-actions[bot] Mar 10, 2022
d084f05
Try using hosted image (#1551)
MIchaelMainer Mar 11, 2022
6bfe456
Chore: Update to 4.18.0 (#1552)
github-actions[bot] Mar 11, 2022
6934106
Chore: Update packages from Dependabot: March (#1554)
thewahome Mar 14, 2022
80a4b09
Fix: Code snippet generation (#1559)
thewahome Mar 16, 2022
40995bb
Chore(deps): Bump glob-parent from 3.1.0 to 5.1.2 (#1563)
dependabot[bot] Mar 16, 2022
ecef40f
Enhancement: Adjust position of chevron icon on history items' header…
Onokaev Mar 17, 2022
262dd13
Fix: Update Tip message format (#1570)
ElinorW Mar 18, 2022
388ba03
Fix: validate permissions before any operations (#1578)
Onokaev Mar 28, 2022
59fe54d
Restore resources tab (#1319)
millicentachieng Mar 30, 2022
a2db247
Fix: Narrator announces more information about a sample query header …
ElinorW Mar 31, 2022
ce6a060
Fix: Parse whitespace in query parameters (#1555)
ElinorW Mar 31, 2022
592f2de
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Apr 4, 2022
b23ee8f
Chore: Update to 5.0.0 (#1581)
github-actions[bot] Apr 4, 2022
4f566b0
chore: handover-translations-202204042239 (#1605)
thewahome Apr 5, 2022
39e2e32
chore: handover-translations-202204042241 (#1606)
thewahome Apr 5, 2022
c960dbe
Fix: Makes app consistent on all browsers (#1602)
Onokaev Apr 5, 2022
9a8652f
Chore: Update MsGraph JavaScript SDK (#1568)
ElinorW Apr 7, 2022
16ab76e
Fix: Update query field when a sample query is selected (#1607)
ElinorW Apr 7, 2022
e5f9fa0
Chore: Dependabot upgrades (#1603)
thewahome Apr 7, 2022
0a95e81
Add query resulting in CORS error to list for the appropriate message…
millicentachieng Apr 7, 2022
f5c7a11
Enhancement: Add more info to code snippets (#1540)
Onokaev Apr 7, 2022
69fd519
Fix: Header position on try-it experience (#1636)
Onokaev Apr 8, 2022
f38e6e0
Task: Bulk update of dependabot upgrades (#1638)
thewahome Apr 8, 2022
f5d9a61
Task: Package updates (#1641)
thewahome Apr 8, 2022
a35c320
Fix: Display permissions on modify permissions tab (#1642)
Onokaev Apr 8, 2022
a17870e
Fix: Signing out on Try-It (#1634)
Onokaev Apr 8, 2022
cacf3c0
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Apr 10, 2022
1899adf
Handle CORS error thrown when GE attempts to download file from a red…
millicentachieng Apr 10, 2022
422a95a
Fix: Send proper request body type for code snippets (#1639)
ElinorW Apr 12, 2022
728734d
Fix: Sidebar and query response components on zoom (#1658)
Onokaev Apr 12, 2022
b8787e5
Chore: Update to 5.1.0 (#1661)
github-actions[bot] Apr 13, 2022
96d3112
Fix: Build information for feedback and telemetry (#1669)
Onokaev Apr 14, 2022
27d917e
Task: Persist sidebar selection (#1664)
Onokaev Apr 19, 2022
762c473
Chore: Update fluentUI package (#1674)
ElinorW Apr 20, 2022
8466131
Chore: Update to 5.1.1 (#1680)
ElinorW Apr 22, 2022
a3dbf0e
Fix: Request section layout (#1681)
Onokaev Apr 26, 2022
4b89500
Task: Refactor permissions (#1665)
Onokaev Apr 28, 2022
70b4999
Fix: Permissions consent button color (#1679)
Onokaev May 4, 2022
a25927a
Fix: OCV Feedback rating (#1687)
Onokaev May 11, 2022
d0a142b
Chore: Update to 5.2.0 (#1728)
github-actions[bot] May 16, 2022
85d16a2
Show isolated resources (#1741)
Onokaev May 18, 2022
b728fc4
Fix: Refactor sample queries (#1677)
ElinorW May 18, 2022
632faee
Improve efficiency of query sanitization regexes (#1726)
millicentachieng May 18, 2022
9b2891b
Task: auto merge dependabot PRs into one PR (#1735)
Onokaev May 19, 2022
e14ba4f
Add history items as a batch (#1748)
Onokaev May 20, 2022
9a2f1a7
Fix: Expand/Collapse toggling (#1750)
ElinorW May 25, 2022
effd771
Use compliant 1es agent pool (#1760)
MIchaelMainer May 28, 2022
c49ca9b
Fix: Add overflow aria-label (#1758)
ElinorW May 30, 2022
47b6ace
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome May 30, 2022
cc7a1e7
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome May 30, 2022
26ddb8a
chore: handover translations 202205302030
thewahome May 31, 2022
0194e18
chore: handover translations 202205302328
thewahome May 31, 2022
ec90132
chore: handover translations 202205310228
thewahome May 31, 2022
d2a9cb3
Chore: handover-translations (#1770)
thewahome May 31, 2022
e59a6ee
Remove button-name from accessibility exclusion (#1762)
Onokaev Jun 2, 2022
bb9036f
Chore: Consolidate github workflows (#1740)
thewahome Jun 2, 2022
0d7fb74
Task: localise resource explorer (#1753)
thewahome Jun 2, 2022
924ac1f
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jun 2, 2022
af86a09
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jun 2, 2022
b42228a
chore: handover translations 202206030349
thewahome Jun 3, 2022
a184d82
Task: Make request headers editable (#1801)
Onokaev Jun 6, 2022
6f31708
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jun 7, 2022
b2ba6e7
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jun 7, 2022
ca05a2f
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jun 8, 2022
44a72e9
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jun 8, 2022
a0f7eaf
chore: handover translations 202206072100
thewahome Jun 8, 2022
e257497
Chore: Dependabot-upgrades-June (#1814)
ElinorW Jun 8, 2022
55d2228
Add headers to snippet request (#1810)
Onokaev Jun 9, 2022
39b8bcc
Feature: Add Graph Explorer header (#1682)
ElinorW Jun 9, 2022
2e04d51
Chore: Update to 6.0.0 (#1820)
github-actions[bot] Jun 15, 2022
b350f74
Speed up tests (#1840)
Onokaev Jun 15, 2022
8f0f0e7
Sanitize sampleUrl before sharing (#1842)
Onokaev Jun 16, 2022
61fbbf4
Fix search box position on resources tab (#1833)
Onokaev Jun 17, 2022
064fdd3
Fix: Enable promptless logout (#1841)
ElinorW Jun 21, 2022
4397993
Add test for history item expiry (#1848)
Onokaev Jun 22, 2022
4946d3f
Task: Persist Query Response selection (#1850)
Onokaev Jun 23, 2022
d2ee831
Task: Remove .spec.tsx tests add tests on App.spec.tsx file (#1837)
Onokaev Jun 23, 2022
078e0e8
Add test confirming users can sign out (#1851)
Onokaev Jun 23, 2022
6b52922
Chore: Migrate FabricBot Tasks to Config-as-Code (#1857)
Jun 27, 2022
3fa868a
Feature: autocomplete typeahead (#1802)
thewahome Jul 6, 2022
31acf68
Editorial fixes (#1890)
Onokaev Jul 6, 2022
e6e9220
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jul 7, 2022
1ec0520
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jul 7, 2022
903684b
Add search results information (#1891)
Onokaev Jul 8, 2022
aca53be
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jul 8, 2022
93d4aa6
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jul 12, 2022
30a67e9
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jul 12, 2022
e966f0b
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jul 12, 2022
9f26504
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jul 12, 2022
7b99ce9
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jul 12, 2022
6bfc488
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Jul 12, 2022
9589728
chore: handover translations 202207081347 (#1912)
thewahome Jul 12, 2022
dd1300b
Fix: Add h1 tags (#1921)
ElinorW Jul 12, 2022
5eb2074
Fix: Update link classes (#1902)
ElinorW Jul 12, 2022
b40254c
Add telemetry for feedback button (#1852)
Onokaev Jul 12, 2022
ae4bb2a
Fix: run query over sanitization (#1925)
Onokaev Jul 13, 2022
0d3d3e6
Remove experimental code (#1926)
Onokaev Jul 13, 2022
775c2c3
Fix: Add focus on Request body editor (#1904)
ElinorW Jul 13, 2022
d0ff6f6
Chore: Update to 6.1.0 (#1927)
github-actions[bot] Jul 18, 2022
13f8a8e
Chore: reduce PR body content (#1937)
thewahome Jul 18, 2022
f685761
Fix: Center method names on sample queries (#1940)
Onokaev Jul 18, 2022
bda63a7
Feature: Add PHP Snippets tab. (#1923)
SilasKenneth Jul 18, 2022
51b9380
Fix: Return focus to feedback button (#1941)
Onokaev Jul 19, 2022
60ab091
July dependabot upgrades (#1920)
Onokaev Jul 20, 2022
3b3d668
Task: Add missing header telemetry (#1944)
ElinorW Jul 22, 2022
01a8e74
Fix: Remove pivot tooltips (#1952)
ElinorW Jul 22, 2022
8fae57a
Fix: Remove toggleCollapse string (#1951)
ElinorW Jul 25, 2022
568a497
Fix: Toolkit component scrolling (#1946)
Onokaev Jul 25, 2022
3fa47b0
Chore(deps): Bump terser from 5.13.1 to 5.14.2 (#1953)
dependabot[bot] Aug 1, 2022
4c7b554
Fix: Use resources as a source of truth (#1956)
thewahome Aug 1, 2022
b06569a
Chore: Update to 6.2.0 (#1959)
github-actions[bot] Aug 3, 2022
158d251
Disable shrinking of the query textbox (#1995)
Onokaev Aug 4, 2022
3635487
Fix: Update Forbidden-403 message (#1997)
ElinorW Aug 4, 2022
16c54dc
Fix: Persist snippet tabs (#1958)
Onokaev Aug 5, 2022
7a4167f
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Aug 8, 2022
9a189e0
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Aug 8, 2022
fc870be
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Aug 8, 2022
3c02478
Set sample url regardless of version (#2004)
Onokaev Aug 8, 2022
9adc008
Fix: Return undefined when account type is not established (#2000)
ElinorW Aug 8, 2022
057bc21
Revert "Feature: Add PHP Snippets tab. (#1923)" (#2012)
ElinorW Aug 8, 2022
9888cf7
Chore: Update to 6.3.0 (#2014)
github-actions[bot] Aug 10, 2022
f98411a
chore: automate adding issues to project board (#1992)
gavinbarron Aug 11, 2022
e31f06e
Validate permissions and consented scopes before accessing them (#2023)
Onokaev Aug 12, 2022
1f7781c
Remove scrollbars from expanded modal (#1999)
Onokaev Aug 12, 2022
da56163
Fix: Text-alignment on the text in query response tabs (#2025)
MaryannGitonga Aug 15, 2022
fb01011
Fix: Autoloading suggestions on /me (#2037)
Onokaev Aug 15, 2022
87c5b6e
Chore: Dependabot upgrades-August (#2003)
ElinorW Aug 15, 2022
bb481cd
Fix: Update the cached queries in queries.ts (#2042)
MaryannGitonga Aug 16, 2022
2dd2c0c
Fix: Disable running queries on clicking samples (#2045)
Onokaev Aug 22, 2022
7ab0f13
Fix: Populate method with GET for queries selected from tips (#2047)
Onokaev Aug 23, 2022
a7d1b61
Fix: Resize query response area when zoomed out (#2048)
MaryannGitonga Aug 23, 2022
0cafe3d
Fix: Response area pivot font sizes (#2049)
ElinorW Aug 24, 2022
7987e01
Reduce share query button size (#2059)
Onokaev Aug 25, 2022
f443f60
Fix: Return correct error response status (#2053)
MaryannGitonga Aug 29, 2022
5700e4f
Fix: Speed up autocomplete (#2041)
Onokaev Aug 30, 2022
a0281f7
Fix: Localize 'Expand' string (#2057)
ElinorW Aug 30, 2022
6a3e744
Fix: Schema validation for Adaptive cards (#2062)
ElinorW Aug 30, 2022
42b7ecf
Task: Add device characteristics telemetry (#2056)
MaryannGitonga Aug 31, 2022
0f5cbf6
Fix: Ensure consistent font sizes on all Pivots (#2067)
ElinorW Aug 31, 2022
c237533
Fix: Prevent unintentional display of suggestions (#2070)
thewahome Aug 31, 2022
14111a5
Fix: failing api calls (#2068)
thewahome Aug 31, 2022
ce3d455
Fix: Cut release to master (#2075)
thewahome Sep 1, 2022
32672a6
Fix: cut release to master (#2077)
thewahome Sep 1, 2022
96f1991
Bump version to 6.4.0
invalid-email-address Sep 1, 2022
53d8b94
Merge branch 'master' into release/6.4.0
thewahome Sep 1, 2022
cbe0b11
fix linting errors
thewahome Sep 2, 2022
f891e29
remove duplicate imports
thewahome Sep 2, 2022
41c6347
fix all imports
thewahome Sep 2, 2022
3b5dfbb
add react to scope
thewahome Sep 2, 2022
bee2e3b
fix page heights
thewahome Sep 2, 2022
dabee3e
revert styling changes
thewahome Sep 2, 2022
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: 3 additions & 3 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
git fetch origin master --depth 100
git fetch origin dev --depth 100

masterPrBody=$(git rev-list v$currentVersion.. --oneline $branchName ^origin/master)
devPrBody=$(git rev-list v$currentVersion.. --oneline $branchName ^origin/dev)
masterPrBody=$(git rev-list --oneline $branchName ^origin/master)
devPrBody=$(git rev-list --oneline $branchName ^origin/dev)

echo 'masterPrBody<<END_OF_OUTPUT' >> $GITHUB_ENV
echo "$masterPrBody" >> $GITHUB_ENV
Expand Down Expand Up @@ -91,5 +91,5 @@ jobs:
source_branch: ${{ steps.create-release.outputs.branchName }}
destination_branch: "master"
github_token: ${{ secrets.GITHUB_TOKEN }}
pr_title: "Chore (release): ${{ env.NEW_VERSION }}"
pr_title: "Chore: Release ${{ env.NEW_VERSION }}"
pr_body: ${{ env.masterPrBody }}
82 changes: 82 additions & 0 deletions .github/workflows/projectbot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# This workflow is used to add new issues to GitHub Projects (Beta)

name: Add PR to project
on:
issues:
types:
- opened
jobs:
track_issue:
runs-on: ubuntu-latest
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@36464acb844fc53b9b8b2401da68844f6b05ebb0
with:
app_id: ${{ secrets.GRAPHBOT_APP_ID }}
private_key: ${{ secrets.GRAPHBOT_APP_PEM }}

- name: Get project data
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
ORGANIZATION: microsoftgraph
PROJECT_NUMBER: 32
run: |
gh api graphql -f query='
query($org: String!, $number: Int!) {
organization(login: $org){
projectNext(number: $number) {
id
fields(first:20) {
nodes {
id
name
settings
}
}
}
}
}' -f org=$ORGANIZATION -F number=$PROJECT_NUMBER > project_data.json

echo 'PROJECT_ID='$(jq '.data.organization.projectNext.id' project_data.json) >> $GITHUB_ENV
echo 'STATUS_FIELD_ID='$(jq '.data.organization.projectNext.fields.nodes[] | select(.name== "Status") | .id' project_data.json) >> $GITHUB_ENV
echo 'TRIAGE_OPTION_ID='$(jq '.data.organization.projectNext.fields.nodes[] | select(.name== "Status") |.settings | fromjson.options[] | select(.name=="Needs Triage") |.id' project_data.json) >> $GITHUB_ENV

- name: Add Issue to project
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
ISSUE_ID: ${{ github.event.issue.node_id }}
run: |
item_id="$( gh api graphql -f query='
mutation($project:ID!, $issue:ID!) {
addProjectNextItem(input: {projectId: $project, contentId: $issue}) {
projectNextItem {
id
}
}
}' -f project=$PROJECT_ID -f issue=$ISSUE_ID --jq '.data.addProjectNextItem.projectNextItem.id')"

echo 'ITEM_ID='$item_id >> $GITHUB_ENV

- name: Set Triage
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
run: |
gh api graphql -f query='
mutation (
$project: ID!
$item: ID!
$status_field: ID!
$status_value: String!
) {
set_status: updateProjectNextItemField(input: {
projectId: $project
itemId: $item
fieldId: $status_field
value: $status_value
}) {
projectNextItem {
id
}
}
}' -f project=$PROJECT_ID -f item=$ITEM_ID -f status_field=$STATUS_FIELD_ID -f status_value=${{ env.TRIAGE_OPTION_ID }} --silent
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"files.exclude": {
"**/node_modules": true,
"**/.github": true
"**/.github": false
},
"files.trimTrailingWhitespace": true,
"editor.codeActionsOnSave": {
Expand Down
Loading